Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 1 | @import "../util"; |
| 2 | |
| 3 | /** |
| 4 | * Styles for the intro page |
| 5 | */ |
Akron | bd39a43 | 2017-09-20 13:57:13 +0200 | [diff] [blame] | 6 | div.intro { |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 7 | |
Uyen-Nhu Tran | 87aabcc | 2024-04-10 01:17:24 +0200 | [diff] [blame] | 8 | &-container { |
| 9 | margin-top: 3rem; |
| 10 | display: flex; |
| 11 | gap: 4rem; |
| 12 | } |
| 13 | |
Akron | bd39a43 | 2017-09-20 13:57:13 +0200 | [diff] [blame] | 14 | // Visited links |
| 15 | a:visited { |
| 16 | color: $darkest-orange |
| 17 | } |
| 18 | |
| 19 | div.announcement { |
| 20 | background-color: $light-orange; |
Akron | 7e5afce | 2020-08-25 15:50:19 +0200 | [diff] [blame] | 21 | padding: $base-padding; |
| 22 | border: 5px dashed $dark-orange; |
| 23 | border-radius: 1em; |
| 24 | width: 90%; |
| 25 | margin: auto; |
Akron | bd39a43 | 2017-09-20 13:57:13 +0200 | [diff] [blame] | 26 | } |
| 27 | } |
| 28 | |
Uyen-Nhu Tran | 74103b5 | 2024-04-23 01:17:58 +0200 | [diff] [blame^] | 29 | @media all and (max-width: 42.5em) { |
| 30 | div.intro { |
| 31 | &-container { |
| 32 | margin-top: 1rem; |
| 33 | flex-direction: column; |
| 34 | gap: 1rem; |
| 35 | } |
| 36 | } |
| 37 | } |
| 38 | |
Uyen-Nhu Tran | 87aabcc | 2024-04-10 01:17:24 +0200 | [diff] [blame] | 39 | // aside.active ~ main div.intro { |
| 40 | // margin-left: $logo-left-distance - $standard-margin + $base-padding; |
| 41 | // } |