mirror of
				https://github.com/ae-utbm/sith.git
				synced 2025-10-31 09:03:06 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			215 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
			
		
		
	
	
			215 lines
		
	
	
		
			3.7 KiB
		
	
	
	
		
			SCSS
		
	
	
	
	
	
| @import "core/static/core/colors";
 | |
| @import "core/static/core/devices";
 | |
| 
 | |
| #news {
 | |
|   display: flex;
 | |
| 
 | |
|   @media (max-width: 800px) {
 | |
|     flex-direction: column;
 | |
|   }
 | |
| 
 | |
|   #news_admin {
 | |
|     margin-bottom: 1em;
 | |
|   }
 | |
| 
 | |
|   #right_column {
 | |
|     flex: 20%;
 | |
|     margin: 3.2px;
 | |
| 
 | |
|     display: inline-block;
 | |
|     vertical-align: top;
 | |
|   }
 | |
| 
 | |
|   #left_column {
 | |
|     flex: 79%;
 | |
|     margin: 0.2em;
 | |
|   }
 | |
| 
 | |
|   h3 {
 | |
|     background: $second-color;
 | |
|     box-shadow: $shadow-color 1px 1px 1px;
 | |
|     padding: 0.4em;
 | |
|     margin: 0 0 0.5em 0;
 | |
|     text-transform: uppercase;
 | |
|     font-size: 17px;
 | |
| 
 | |
|     &:not(:first-of-type) {
 | |
|       margin: 2em 0 1em 0;
 | |
|     }
 | |
| 
 | |
|     .feed {
 | |
|       float: right;
 | |
|       color: #f26522;
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   @media screen and (max-width: $small-devices) {
 | |
| 
 | |
|     #left_column,
 | |
|     #right_column {
 | |
|       flex: 100%;
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   /* UPCOMING EVENTS */
 | |
| 
 | |
|   #upcoming-events {
 | |
|     max-height: 600px;
 | |
|     overflow-y: scroll;
 | |
|   }
 | |
| 
 | |
|   /* LINKS/BIRTHDAYS */
 | |
|   #links,
 | |
|   #birthdays {
 | |
|     display: block;
 | |
|     width: 100%;
 | |
|     background: white;
 | |
|     font-size: 70%;
 | |
|     margin-bottom: 1em;
 | |
| 
 | |
|     h3 {
 | |
|       margin-bottom: 0;
 | |
|     }
 | |
| 
 | |
|     #links_content {
 | |
|       overflow: auto;
 | |
|       box-shadow: $shadow-color 1px 1px 1px;
 | |
|       height: 20em;
 | |
| 
 | |
|       h4 {
 | |
|         margin-left: 5px;
 | |
|       }
 | |
| 
 | |
|       ul {
 | |
|         list-style: none;
 | |
|         margin-left: 0;
 | |
| 
 | |
|         li {
 | |
|           margin: 10px;
 | |
| 
 | |
|           .fa-facebook {
 | |
|             color: $faceblue;
 | |
|           }
 | |
| 
 | |
|           .fa-discord {
 | |
|             color: $discordblurple;
 | |
|           }
 | |
| 
 | |
|           .fa-square-instagram::before {
 | |
|             background: $instagradient;
 | |
|             background-clip: text;
 | |
|             -webkit-text-fill-color: transparent;
 | |
|           }
 | |
| 
 | |
|           i {
 | |
|             width: 25px;
 | |
|             text-align: center;
 | |
|           }
 | |
|         }
 | |
|       }
 | |
| 
 | |
|     }
 | |
| 
 | |
|     #birthdays_content {
 | |
|       ul.birthdays_year {
 | |
|         margin: 0;
 | |
|         list-style-type: none;
 | |
|         font-weight: bold;
 | |
| 
 | |
|         >li {
 | |
|           padding: 0.5em;
 | |
| 
 | |
|           &:nth-child(even) {
 | |
|             background: $secondary-neutral-light-color;
 | |
|           }
 | |
|         }
 | |
| 
 | |
|         ul {
 | |
|           margin: 0;
 | |
|           margin-left: 1em;
 | |
|           list-style-type: square;
 | |
|           list-style-position: inside;
 | |
|           font-weight: normal;
 | |
|         }
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   /* END AGENDA/BIRTHDAYS */
 | |
| 
 | |
|   /* EVENTS TODAY AND NEXT FEW DAYS */
 | |
|   .news_events_group {
 | |
|     box-shadow: $shadow-color 1px 1px 1px;
 | |
|     margin-left: 1em;
 | |
|     margin-bottom: 0.5em;
 | |
| 
 | |
|     .news_events_group_date {
 | |
|       display: table-cell;
 | |
|       padding: 0.6em;
 | |
|       vertical-align: middle;
 | |
|       background: $primary-neutral-dark-color;
 | |
|       color: $white-color;
 | |
|       text-transform: uppercase;
 | |
|       text-align: center;
 | |
|       font-weight: bold;
 | |
|       font-family: monospace;
 | |
|       font-size: 1.4em;
 | |
|       border-radius: 7px 0 0 7px;
 | |
| 
 | |
|       div {
 | |
|         margin: 0 auto;
 | |
| 
 | |
|         .day {
 | |
|           font-size: 1.5em;
 | |
|         }
 | |
|       }
 | |
|     }
 | |
| 
 | |
|     .news_events_group_items {
 | |
|       display: table-cell;
 | |
|       width: 100%;
 | |
| 
 | |
|       .news_event:nth-of-type(odd) {
 | |
|         background: white;
 | |
|       }
 | |
| 
 | |
|       .news_event:nth-of-type(even) {
 | |
|         background: $primary-neutral-light-color;
 | |
|       }
 | |
| 
 | |
|       .news_event {
 | |
|         display: flex;
 | |
|         flex-direction: column;
 | |
|         gap: .5em;
 | |
|         padding: 1em;
 | |
| 
 | |
|         header {
 | |
|           img {
 | |
|             height: 75px;
 | |
|           }
 | |
|           .header_content {
 | |
|             display: flex;
 | |
|             flex-direction: column;
 | |
|             justify-content: center;
 | |
|             gap: .2rem;
 | |
| 
 | |
|             h4 {
 | |
|               margin-top: 0;
 | |
|               text-transform: uppercase;
 | |
|             }
 | |
|           }
 | |
|         }
 | |
|       }
 | |
|     }
 | |
|   }
 | |
| 
 | |
|   /* END EVENTS TODAY AND NEXT FEW DAYS */
 | |
| 
 | |
|   .news_empty {
 | |
|     margin-left: 1em;
 | |
|   }
 | |
| 
 | |
|   .news_date {
 | |
|     color: grey;
 | |
|   }
 | |
| } |