|
| 1 | +@import '_vars.css'; |
| 2 | +@import 'icons.css'; |
| 3 | + |
| 4 | +html, body { |
| 5 | + font-family: var(--fonts-body); |
| 6 | + background-image: url('/assets/img/body-background.png'); |
| 7 | + color: var(--colors-body-font); |
| 8 | + font-size: 18px; |
| 9 | + text-rendering: optimizeLegibility; |
| 10 | + -webkit-font-smoothing: antialiased; |
| 11 | +} |
| 12 | + |
| 13 | +.img-responsive { |
| 14 | + max-width: 100%; |
| 15 | +} |
| 16 | + |
| 17 | +.container { |
| 18 | + background-color: white; |
| 19 | +} |
| 20 | + |
| 21 | +.italic { |
| 22 | + font-style: italic; |
| 23 | +} |
| 24 | + |
| 25 | +.text-center { |
| 26 | + text-align: center; |
| 27 | +} |
| 28 | + |
| 29 | +.text-justify { |
| 30 | + text-align: justify; |
| 31 | +} |
| 32 | + |
| 33 | +h1 { |
| 34 | + margin: 0.5em 0 0 0; |
| 35 | + color: white; |
| 36 | + font-family: var(--fonts-raleway); |
| 37 | + font-size: 2.5em; |
| 38 | + letter-spacing: 1em; |
| 39 | + font-weight: 300; |
| 40 | + text-transform: uppercase; |
| 41 | + text-rendering: optimizeLegibility; |
| 42 | + line-height: 1.5em; |
| 43 | +} |
| 44 | + |
| 45 | +h2 { |
| 46 | + font-family: var(--fonts-raleway); |
| 47 | + color: var(--colors-pink); |
| 48 | + font-size: 1em; |
| 49 | + letter-spacing: 1em; |
| 50 | + text-transform: uppercase; |
| 51 | + font-weight: 300; |
| 52 | +} |
| 53 | + |
| 54 | +h3 { |
| 55 | + font-family: var(--fonts-raleway); |
| 56 | + color: var(--colors-pink); |
| 57 | + text-transform: uppercase; |
| 58 | + background-color: var(--colors-dark-grey); |
| 59 | + font-size: 14px; |
| 60 | + text-align: center; |
| 61 | + font-weight: 700; |
| 62 | + margin: 2em 0 1em 0; |
| 63 | + padding: 0.6em 0; |
| 64 | + letter-spacing: 0.4em; |
| 65 | + border-radius: 2px; |
| 66 | +} |
| 67 | + |
| 68 | +h4 { |
| 69 | + font-family: var(--fonts-raleway); |
| 70 | + color: var(--colors-dark-grey); |
| 71 | + text-align: center; |
| 72 | + margin: 1em 0 0 0; |
| 73 | + letter-spacing: 0.4em; |
| 74 | + font-size: 0.9em; |
| 75 | +} |
| 76 | + |
| 77 | +nav { |
| 78 | + background-color: var(--colors-pink); |
| 79 | + margin-left: 2em; |
| 80 | + padding: 0 1em; |
| 81 | + height: 100%; |
| 82 | + font-size: 14px; |
| 83 | +} |
| 84 | + |
| 85 | +nav.profile-photo { |
| 86 | + text-align: center; |
| 87 | +} |
| 88 | + |
| 89 | +nav.profile-photo img { |
| 90 | + margin-top: 5em; |
| 91 | + display: inline-block; |
| 92 | +} |
| 93 | + |
| 94 | +nav address { |
| 95 | + font-family: var(--fonts-body); |
| 96 | + color: var(--colors-dark-grey); |
| 97 | + margin-left: 10px; |
| 98 | + font-weight: 600; |
| 99 | + line-height: 2em; |
| 100 | +} |
| 101 | + |
| 102 | +nav a, nav a:visited { |
| 103 | + text-decoration: none; |
| 104 | + color: var(--colors-body-font); |
| 105 | + font-weight: bold; |
| 106 | +} |
| 107 | + |
| 108 | +nav a:hover { |
| 109 | + text-decoration: underline; |
| 110 | +} |
| 111 | + |
| 112 | +nav .expertise { |
| 113 | + list-style-type: none; |
| 114 | + margin: 0; |
| 115 | + padding: 0; |
| 116 | +} |
| 117 | + |
| 118 | +nav .expertise li { |
| 119 | + margin-left: 10px; |
| 120 | + color: var(--colors-dark-grey); |
| 121 | + letter-spacing: 3px; |
| 122 | + font-weight: 600; |
| 123 | + line-height: 3em; |
| 124 | +} |
| 125 | + |
| 126 | +nav section p { |
| 127 | + margin-left: 10px; |
| 128 | + font-size: 16px; |
| 129 | +} |
| 130 | + |
| 131 | +main { |
| 132 | + margin-right: 2em; |
| 133 | + margin-left: 1em; |
| 134 | +} |
| 135 | + |
| 136 | +main hr.thin { |
| 137 | + width: 100px; |
| 138 | + border-color: var(--colors-pink); |
| 139 | +} |
| 140 | + |
| 141 | +main p { |
| 142 | + font-family: var(--fonts-body); |
| 143 | +} |
| 144 | + |
| 145 | +main .highlights { |
| 146 | + padding-left: 5em; |
| 147 | +} |
| 148 | + |
| 149 | +main .highlights li { |
| 150 | + font-size: 0.9em; |
| 151 | +} |
| 152 | + |
| 153 | +main .divider { |
| 154 | + text-align: center; |
| 155 | + margin: 3em 25% 1em; |
| 156 | +} |
| 157 | + |
| 158 | +main .divider hr { |
| 159 | + background: none; |
| 160 | + border: none; |
| 161 | + border-bottom: 1px solid #999; |
| 162 | + height: 1px; |
| 163 | + margin: 0; |
| 164 | + padding: 0; |
| 165 | +} |
| 166 | + |
| 167 | +main .divider .diamond { |
| 168 | + position: relative; |
| 169 | + display: inline-block; |
| 170 | + top: -0.8em; |
| 171 | + width: 1.5em; |
| 172 | + height: 1.5em; |
| 173 | + border: 1px solid #999; |
| 174 | + transform: rotate(45deg); |
| 175 | + background-color: white; |
| 176 | + border-radius:2px; |
| 177 | +} |
| 178 | + |
| 179 | +main .role { |
| 180 | + margin-top: 3em; |
| 181 | +} |
| 182 | + |
| 183 | +main section.skills .chart-container { |
| 184 | + height: 0; /* collapse the container's height */ |
| 185 | + width: 100%; /* specify any width you want (a percentage value, basically) */ |
| 186 | + /* apply a padding using the following formula */ |
| 187 | + /* this formula makes sure the aspect ratio of the container equals that of the svg graphic */ |
| 188 | + padding-top: 100%; |
| 189 | + position: relative; /* create positioning context for svg */ |
| 190 | +} |
| 191 | + |
| 192 | +main section.skills .chart-container svg { |
| 193 | + position: absolute; |
| 194 | + top: 0; |
| 195 | + left: 0; |
| 196 | +} |
| 197 | + |
| 198 | +main section.skills .skills-chart circle { |
| 199 | + fill: var(--colors-light-grey); |
| 200 | + fill-opacity: .1; |
| 201 | + stroke: var(--colors-light-grey); |
| 202 | + stroke-opacity: 0.3; |
| 203 | + stroke-width: 1px; |
| 204 | +} |
| 205 | + |
| 206 | +main section.skills .skills-chart .leaf circle { |
| 207 | + fill: var(--colors-pink); |
| 208 | + fill-opacity: 0.9; |
| 209 | +} |
| 210 | + |
| 211 | +main section.skills .skills-chart text { |
| 212 | + font-size: 12px; |
| 213 | + font-family: var(--fonts-condensed); |
| 214 | + text-anchor: middle; |
| 215 | +} |
| 216 | + |
| 217 | +header { |
| 218 | + padding: 1em; |
| 219 | + text-align: center; |
| 220 | + background-color: var(--colors-dark-grey); |
| 221 | + border-bottom-right-radius: 2px; |
| 222 | + border-bottom-left-radius: 2px; |
| 223 | +} |
| 224 | + |
| 225 | +/** Tablet **/ |
| 226 | +@media only screen and (max-width: var(--screen-md-min)) { |
| 227 | + |
| 228 | + header h1 { |
| 229 | + margin: 0.5em 0 0 0; |
| 230 | + font-size: 2em; |
| 231 | + letter-spacing: 1em; |
| 232 | + font-weight: 300; |
| 233 | + line-height: 1.0em; |
| 234 | + } |
| 235 | + |
| 236 | + header h2 { |
| 237 | + font-size: 0.8em; |
| 238 | + letter-spacing: 1em; |
| 239 | + font-weight: 300; |
| 240 | + } |
| 241 | + |
| 242 | + nav { |
| 243 | + margin: 0 1em; |
| 244 | + } |
| 245 | + |
| 246 | + main { |
| 247 | + margin: 1em; |
| 248 | + } |
| 249 | +} |
| 250 | + |
| 251 | +/** Mobile **/ |
| 252 | +@media only screen and (max-width: var(--screen-xs-min)) { |
| 253 | + |
| 254 | + header h1 { |
| 255 | + margin: 0.5em 0 0 0; |
| 256 | + font-size: 2em; |
| 257 | + letter-spacing: 1em; |
| 258 | + font-weight: 300; |
| 259 | + line-height: 1.0em; |
| 260 | + } |
| 261 | + |
| 262 | + header h2 { |
| 263 | + font-size: 0.8em; |
| 264 | + letter-spacing: 1em; |
| 265 | + font-weight: 300; |
| 266 | + } |
| 267 | + |
| 268 | + nav { |
| 269 | + margin: 0 1em; |
| 270 | + } |
| 271 | + |
| 272 | + main { |
| 273 | + margin: 1em; |
| 274 | + } |
| 275 | +} |
0 commit comments