diff options
Diffstat (limited to 'source/assets/default.css')
| -rw-r--r-- | source/assets/default.css | 58 |
1 files changed, 43 insertions, 15 deletions
diff --git a/source/assets/default.css b/source/assets/default.css index 8f15299..304c294 100644 --- a/source/assets/default.css +++ b/source/assets/default.css | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | @charset "utf-8"; | 1 | @charset "utf-8"; |
| 2 | 2 | ||
| 3 | @import url('https://fonts.googleapis.com/css?family=Heebo:100,300,400,500,700,800,900" rel="stylesheet">'); | 3 | @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600,700,900'); |
| 4 | @import url('https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600,700,900" rel="stylesheet">'); | ||
| 5 | 4 | ||
| 6 | * { | 5 | * { |
| 7 | box-sizing: border-box; | 6 | box-sizing: border-box; |
| @@ -11,8 +10,9 @@ | |||
| 11 | } | 10 | } |
| 12 | 11 | ||
| 13 | body { | 12 | body { |
| 14 | font-family: 'Heebo', sans-serif; | 13 | /*font-family: 'Heebo', sans-serif;*/ |
| 15 | font-size: 18px; | 14 | font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; |
| 15 | font-size: 17px; | ||
| 16 | line-height: 170%; | 16 | line-height: 170%; |
| 17 | } | 17 | } |
| 18 | 18 | ||
| @@ -39,22 +39,23 @@ ol a:hover { | |||
| 39 | 39 | ||
| 40 | h1 { | 40 | h1 { |
| 41 | line-height: 140%; | 41 | line-height: 140%; |
| 42 | font-weight: 900; | 42 | font-weight: 600; |
| 43 | font-size: 250%; | 43 | font-size: 210%; |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | h2,h3,h4,h5 { | 46 | h2,h3,h4,h5 { |
| 47 | /*margin-top: 50px;*/ | 47 | /*margin-top: 50px;*/ |
| 48 | font-weight: 500; | ||
| 48 | } | 49 | } |
| 49 | 50 | ||
| 50 | img { | 51 | img { |
| 51 | max-width: 100%; | 52 | max-width: 100%; |
| 52 | margin: 0 auto; | 53 | margin: 30px auto; |
| 53 | display: block; | 54 | display: block; |
| 54 | } | 55 | } |
| 55 | 56 | ||
| 56 | .wrapper { | 57 | .wrapper { |
| 57 | max-width: 750px; | 58 | max-width: 800px; |
| 58 | margin: 0 auto; | 59 | margin: 0 auto; |
| 59 | } | 60 | } |
| 60 | 61 | ||
| @@ -75,7 +76,7 @@ pre, code { | |||
| 75 | } | 76 | } |
| 76 | 77 | ||
| 77 | pre { | 78 | pre { |
| 78 | font-size: 80%; | 79 | font-size: 85%; |
| 79 | margin: 20px; | 80 | margin: 20px; |
| 80 | background: #eee; | 81 | background: #eee; |
| 81 | } | 82 | } |
| @@ -195,16 +196,15 @@ menu { | |||
| 195 | } | 196 | } |
| 196 | 197 | ||
| 197 | menu a.logo { | 198 | menu a.logo { |
| 198 | background: black; | 199 | font-weight: 600; |
| 199 | color: white; | ||
| 200 | font-weight: 800; | ||
| 201 | text-decoration: none; | 200 | text-decoration: none; |
| 202 | padding: 3px 15px; | 201 | font-size: 130%; |
| 202 | padding: 5px 0px ; | ||
| 203 | } | 203 | } |
| 204 | 204 | ||
| 205 | menu a.logo:hover { | 205 | menu a.logo:hover { |
| 206 | background: fuchsia; | 206 | /*background: fuchsia; |
| 207 | color: white; | 207 | color: white;*/ |
| 208 | } | 208 | } |
| 209 | 209 | ||
| 210 | menu nav { | 210 | menu nav { |
| @@ -239,6 +239,19 @@ footer > * { | |||
| 239 | 239 | ||
| 240 | /*************************************************************** ARTICLE LIST */ | 240 | /*************************************************************** ARTICLE LIST */ |
| 241 | 241 | ||
| 242 | .list .article-list { | ||
| 243 | margin-bottom: 60px; | ||
| 244 | } | ||
| 245 | |||
| 246 | .list .article-list:last-child { | ||
| 247 | margin-bottom: 10px; | ||
| 248 | } | ||
| 249 | |||
| 250 | .list h3 { | ||
| 251 | font-weight: 700; | ||
| 252 | font-size: 140%; | ||
| 253 | } | ||
| 254 | |||
| 242 | .article-list article { | 255 | .article-list article { |
| 243 | margin-bottom: 20px; | 256 | margin-bottom: 20px; |
| 244 | } | 257 | } |
| @@ -246,12 +259,21 @@ footer > * { | |||
| 246 | .article-list article h2 { | 259 | .article-list article h2 { |
| 247 | margin: 0; | 260 | margin: 0; |
| 248 | line-height: 150%; | 261 | line-height: 150%; |
| 262 | font-size: 120%; | ||
| 249 | } | 263 | } |
| 250 | 264 | ||
| 251 | .article-list a { | 265 | .article-list a { |
| 252 | text-decoration: none; | 266 | text-decoration: none; |
| 253 | } | 267 | } |
| 254 | 268 | ||
| 269 | article img.large { | ||
| 270 | max-width: 1100px; | ||
| 271 | width: 1100px; | ||
| 272 | position: relative; | ||
| 273 | left: -150px; | ||
| 274 | margin: 50px 0; | ||
| 275 | } | ||
| 276 | |||
| 255 | /***************************************************************** RESPONSIVE */ | 277 | /***************************************************************** RESPONSIVE */ |
| 256 | 278 | ||
| 257 | @media only screen and (max-width:800px) { | 279 | @media only screen and (max-width:800px) { |
| @@ -270,6 +292,12 @@ footer > * { | |||
| 270 | footer { | 292 | footer { |
| 271 | text-align: center; | 293 | text-align: center; |
| 272 | } | 294 | } |
| 295 | |||
| 296 | article img.large { | ||
| 297 | position: initial; | ||
| 298 | width: 100%; | ||
| 299 | margin: 20px 0; | ||
| 300 | } | ||
| 273 | } | 301 | } |
| 274 | 302 | ||
| 275 | /********************************************************************** PRINT */ | 303 | /********************************************************************** PRINT */ |
