Rev | Line | |
---|
[16971] | 1 | header { |
---|
| 2 | background-color: $base-color; |
---|
| 3 | color: $header-text-color; |
---|
| 4 | height: auto; |
---|
| 5 | display: flex; |
---|
| 6 | align-items: center; |
---|
| 7 | |
---|
| 8 | &.sticky { |
---|
| 9 | padding-top: 65px; |
---|
| 10 | } |
---|
| 11 | |
---|
| 12 | .container { |
---|
| 13 | display: flex; |
---|
| 14 | flex-direction: row; |
---|
| 15 | align-items: center; |
---|
| 16 | min-height: 20rem; |
---|
| 17 | |
---|
| 18 | &:after { |
---|
| 19 | content: ""; |
---|
| 20 | display: block; |
---|
| 21 | position: absolute; |
---|
| 22 | left: 50px; |
---|
| 23 | top: 50px; |
---|
| 24 | width: 2px; |
---|
| 25 | height: 100%; |
---|
| 26 | background: rgba(255, 255, 255, 0.1); |
---|
| 27 | z-index: 1; |
---|
| 28 | } |
---|
| 29 | } |
---|
| 30 | |
---|
| 31 | .logo { |
---|
| 32 | font-size: 40pt !important; |
---|
| 33 | background-color: $logo-color; |
---|
| 34 | border-radius: 50%; |
---|
| 35 | width: 90px; |
---|
| 36 | height: 90px; |
---|
| 37 | border: 5px $logo-color solid; |
---|
| 38 | position: relative; |
---|
| 39 | color: $logo-color; |
---|
| 40 | z-index: 4; |
---|
| 41 | display: flex; |
---|
| 42 | align-items: center; |
---|
| 43 | justify-content: center; |
---|
| 44 | |
---|
| 45 | a { |
---|
| 46 | border: 0; |
---|
| 47 | } |
---|
| 48 | |
---|
| 49 | &:hover { |
---|
| 50 | .overlay { |
---|
| 51 | opacity: 1; |
---|
| 52 | } |
---|
| 53 | } |
---|
| 54 | |
---|
| 55 | img { |
---|
| 56 | max-width: 100%; |
---|
| 57 | border-radius: 50%; |
---|
| 58 | } |
---|
| 59 | |
---|
| 60 | .overlay { |
---|
| 61 | position: absolute; |
---|
| 62 | top: 0; |
---|
| 63 | left: 0; |
---|
| 64 | bottom: 0; |
---|
| 65 | right: 0; |
---|
| 66 | background-color: $bubble-hover-color; |
---|
| 67 | border-radius: 50%; |
---|
| 68 | display: flex; |
---|
| 69 | align-items: center; |
---|
| 70 | justify-content: center; |
---|
| 71 | transition: all 0.3s ease-in-out; |
---|
| 72 | opacity: 0; |
---|
| 73 | } |
---|
| 74 | } |
---|
| 75 | |
---|
| 76 | .titles { |
---|
| 77 | margin-left: 3rem; |
---|
| 78 | |
---|
| 79 | h3 { |
---|
| 80 | margin-bottom: 0; |
---|
| 81 | font-size: 3.25rem; |
---|
| 82 | } |
---|
| 83 | } |
---|
| 84 | |
---|
| 85 | .languages { |
---|
| 86 | position: absolute; |
---|
| 87 | right: 0; |
---|
| 88 | bottom: 0; |
---|
| 89 | background-color: $special-color; |
---|
| 90 | padding: 0.5em 1em; |
---|
| 91 | display: flex; |
---|
| 92 | border-top-right-radius: 4px; |
---|
| 93 | border-top-left-radius: 4px; |
---|
| 94 | |
---|
| 95 | a { |
---|
| 96 | text-transform: uppercase; |
---|
| 97 | font-size: 0.8em; |
---|
| 98 | color: $page-background-color; |
---|
| 99 | letter-spacing: 0.1em; |
---|
| 100 | |
---|
| 101 | &.active { |
---|
| 102 | font-weight: bold; |
---|
| 103 | } |
---|
| 104 | |
---|
| 105 | &:not(:last-child):after { |
---|
| 106 | content: " | "; |
---|
| 107 | color: inherit; |
---|
| 108 | } |
---|
| 109 | } |
---|
| 110 | } |
---|
| 111 | |
---|
| 112 | .toggler { |
---|
| 113 | position: absolute; |
---|
| 114 | right: 0; |
---|
| 115 | top: 0; |
---|
| 116 | background: $special-color; |
---|
| 117 | padding: 0.375em 0.75em; |
---|
| 118 | font-size: 1.125em; |
---|
| 119 | border-bottom-left-radius: 4px; |
---|
| 120 | border-bottom-right-radius: 4px; |
---|
| 121 | cursor: pointer; |
---|
| 122 | |
---|
| 123 | &.permanentTopNav { |
---|
| 124 | display: none; |
---|
| 125 | } |
---|
| 126 | } |
---|
| 127 | } |
---|
Note: See
TracBrowser for help on using the repository browser.