| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Fonts | 2 * Fonts |
|
juliandoucette
2017/01/10 20:26:39
We should prefer local("Source Sans Pro") over url
| |
| 3 */ | 3 */ |
| 4 | |
| 4 @font-face { | 5 @font-face { |
| 5 font-family: "Lato"; | 6 font-family: "Source Sans Pro"; |
| 7 font-weight: 300; | |
| 6 font-style: normal; | 8 font-style: normal; |
| 9 src: url("/fonts/Source-Sans-Pro-300/Source-Sans-Pro-300.eot"); | |
| 10 src: url("/fonts/Source-Sans-Pro-300/Source-Sans-Pro-300.eot?#iefix") format(" embedded-opentype"), local("Source Sans Pro Light"), local("Source-Sans-Pro-300" ), url("/fonts/Source-Sans-Pro-300/Source-Sans-Pro-300.woff2") format("woff2"), url("/fonts/Source-Sans-Pro-300/Source-Sans-Pro-300.woff") format("woff"), url(" /fonts/Source-Sans-Pro-300/Source-Sans-Pro-300.ttf") format("truetype"), url("/f onts/Source-Sans-Pro-300/Source-Sans-Pro-300.svg#SourceSansPro") format("svg"); } | |
| 11 | |
| 12 @font-face { | |
| 13 font-family: "Source Sans Pro"; | |
| 7 font-weight: 400; | 14 font-weight: 400; |
| 8 src: local("Lato Regular"), local("Lato-Regular"), url(/fonts/Lato-Regular.wof f) format('woff'); | 15 font-style: normal; |
| 9 } | 16 src: url("/fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.eot"); |
| 17 src: url("/fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.eot?#iefix") format("embedded-opentype"), local("Source Sans Pro"), local("Source-Sans-Pro-re gular"), url("/fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.woff2") for mat("woff2"), url("/fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.woff") format("woff"), url("/fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regular.ttf ") format("truetype"), url("/fonts/Source-Sans-Pro-regular/Source-Sans-Pro-regul ar.svg#SourceSansPro") format("svg"); } | |
| 18 | |
| 10 @font-face { | 19 @font-face { |
| 11 font-family: "Lato"; | 20 font-family: "Source Sans Pro"; |
| 21 font-weight: 700; | |
| 12 font-style: normal; | 22 font-style: normal; |
| 13 font-weight: 700; | 23 src: url("/fonts/Source-Sans-Pro-700/Source-Sans-Pro-700.eot"); |
| 14 src: local("Lato Bold"), local("Lato-Bold"), url(/fonts/Lato-Bold.woff) format ('woff'); | 24 src: url("/fonts/Source-Sans-Pro-700/Source-Sans-Pro-700.eot?#iefix") format(" embedded-opentype"), local("Source Sans Pro Bold"), local("Source-Sans-Pro-700") , url("/fonts/Source-Sans-Pro-700/Source-Sans-Pro-700.woff2") format("woff2"), u rl("/fonts/Source-Sans-Pro-700/Source-Sans-Pro-700.woff") format("woff"), url("/ fonts/Source-Sans-Pro-700/Source-Sans-Pro-700.ttf") format("truetype"), url("/fo nts/Source-Sans-Pro-700/Source-Sans-Pro-700.svg#SourceSansPro") format("svg"); } |
| 15 } | |
| 16 @font-face { | |
| 17 font-family: "Lato"; | |
| 18 font-style: italic; | |
| 19 font-weight: 400; | |
| 20 src: local("Lato Italic"), local("Lato-Italic"), url(/fonts/Lato-Italic.woff) format('woff'); | |
| 21 } | |
| 22 @font-face { | |
| 23 font-family: "Lato"; | |
| 24 font-style: italic; | |
| 25 font-weight: 700; | |
| 26 src: local("Lato Bold Italic"), local("Lato-BoldItalic"), url(/fonts/Lato-Bold Italic.woff) format('woff'); | |
| 27 } | |
| 28 | 25 |
| 29 /* | 26 /* |
| 30 * General layout | 27 * General layout |
| 31 */ | 28 */ |
| 32 | 29 |
| 33 body | 30 body |
| 34 { | 31 { |
| 35 font-family: Lato, sans-serif; | 32 font-family: "Source Sans Pro", sans-serif; |
| 36 font-size: 14px; | 33 font-size: 17px; |
|
juliandoucette
2017/01/10 20:26:39
The issue says 18. Why 17?
| |
| 37 line-height: 1.4; | 34 font-weight: 300; |
| 38 color: #747474; | 35 line-height: 24px; |
| 36 color: #161616; | |
| 39 padding: 0; | 37 padding: 0; |
| 40 margin: 0; | 38 margin: 0; |
| 41 padding-top: 78px; | 39 padding-top: 78px; |
| 42 } | 40 } |
| 43 | 41 |
| 44 a | 42 a |
| 45 { | 43 { |
| 46 color: #7ac142; | 44 color: #161616; |
| 47 text-decoration: none; | 45 » text-decoration: none; |
|
juliandoucette
2017/01/10 20:26:39
Please use spaces instead of tabs (everywhere).
| |
| 46 » font-weight: 500; | |
|
juliandoucette
2017/01/10 20:26:39
We don't have this font in 500.
| |
| 48 } | 47 } |
| 49 | 48 |
| 50 a:hover | 49 a:hover |
| 51 { | 50 { |
| 52 color: #91e64f; | 51 » text-decoration: underline; |
| 53 } | 52 } |
| 54 | 53 |
| 55 img | 54 img |
| 56 { | 55 { |
| 57 border-width: 0px; | 56 border-width: 0px; |
| 58 } | 57 } |
| 59 | 58 |
| 60 header, | 59 header, |
| 61 footer, | 60 footer, |
| 62 nav | 61 nav |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 169 { | 168 { |
| 170 display: inline; | 169 display: inline; |
| 171 font-weight: bold; | 170 font-weight: bold; |
| 172 white-space: nowrap; | 171 white-space: nowrap; |
| 173 } | 172 } |
| 174 | 173 |
| 175 .menu-list li a | 174 .menu-list li a |
| 176 { | 175 { |
| 177 color: #979797; | 176 color: #979797; |
| 178 padding: 0 8px; | 177 padding: 0 8px; |
| 178 text-transform: uppercase; | |
|
juliandoucette
2017/01/10 20:26:39
Please use 2 spaces (everywhere).
| |
| 179 } | 179 } |
| 180 | 180 |
| 181 .menu-list li:hover > a, | 181 .menu-list li:hover > a, |
| 182 .menu-list li.current-menu-item > a | 182 .menu-list li.current-menu-item > a |
| 183 { | 183 { |
| 184 color: #373737; | 184 color: #373737; |
| 185 } | 185 } |
| 186 | 186 |
| 187 #header-hamburger | 187 #header-hamburger |
| 188 { | 188 { |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 294 .page-title h1 | 294 .page-title h1 |
| 295 { | 295 { |
| 296 max-width: 1080px; | 296 max-width: 1080px; |
| 297 margin: 0 auto; | 297 margin: 0 auto; |
| 298 } | 298 } |
| 299 | 299 |
| 300 .heading | 300 .heading |
| 301 { | 301 { |
| 302 margin: 0; | 302 margin: 0; |
| 303 margin-bottom: 20px; | 303 margin-bottom: 20px; |
| 304 border-bottom: 1px solid #E2E2E2; | |
| 305 font-weight: normal; | 304 font-weight: normal; |
| 306 height: 0.7em; | 305 height: 0.7em; |
| 307 } | 306 } |
| 308 | 307 |
| 309 .heading span | 308 .heading span |
| 310 { | 309 { |
| 311 padding: 0; | 310 padding: 0; |
| 312 padding-right: 10px; | 311 padding-right: 10px; |
| 313 background-color: #fff; | 312 background-color: #fff; |
| 314 } | 313 } |
| 315 | 314 |
| 316 .centered | 315 .centered |
| 317 { | 316 { |
| 318 text-align: center; | 317 text-align: center; |
| 319 } | 318 } |
| 320 | 319 |
| 321 .centered span | 320 .centered span |
| 322 { | 321 { |
| 323 padding-left: 10px; | 322 padding-left: 10px; |
| 324 } | 323 } |
| 325 | 324 |
| 326 button, .button, .menu-button | 325 button, .button, .menu-button |
| 327 { | 326 { |
| 328 display: inline-block; | 327 display: inline-block; |
| 329 cursor: pointer; | 328 cursor: pointer; |
| 330 background-color: #7ac142; | 329 background-color: #161616; |
| 331 color: #ffffff; | 330 color: #ffffff; |
| 332 border: none; | |
| 333 border-radius: 3px; | |
| 334 font-size: 14px; | 331 font-size: 14px; |
| 332 border: 1px solid #ffffff; | |
| 335 font-weight: bold; | 333 font-weight: bold; |
| 336 line-height: 36px; | 334 line-height: 36px; |
| 337 white-space: nowrap; | 335 white-space: nowrap; |
| 338 height: 36px; | 336 height: 36px; |
| 339 padding: 0 20px; | 337 padding: 0 20px; |
| 338 text-transform: uppercase; | |
| 340 } | 339 } |
| 341 | 340 |
| 342 button:hover, | 341 button:hover, |
| 343 button:focus, | 342 button:focus, |
| 344 .button:hover, | 343 .button:hover, |
| 345 .button:focus, | 344 .button:focus, |
| 346 .menu-button:hover, | 345 .menu-button:hover, |
| 347 .menu-button:focus | 346 .menu-button:focus |
| 348 { | 347 { |
| 349 background-color: #7FCF42; | 348 color: #161616; |
| 350 color: #ffffff; | 349 » background-color: #ffffff; |
| 350 » text-decoration: none; | |
| 351 » border: 1px solid #161616; | |
| 351 } | 352 } |
| 352 | 353 |
| 353 .page-title | 354 .page-title |
| 354 { | 355 { |
| 355 background-image: url(/images/subtlenet2.png); | 356 background-image: url(/images/subtlenet2.png); |
| 356 background-color: #e9e9e5; | 357 background-color: #e9e9e5; |
| 357 padding-top: 25px; | 358 padding-top: 25px; |
| 358 padding-bottom: 25px; | 359 padding-bottom: 25px; |
| 359 margin-bottom: 40px; | 360 margin-bottom: 40px; |
| 360 } | 361 } |
| (...skipping 29 matching lines...) Expand all Loading... | |
| 390 #who-we-are | 391 #who-we-are |
| 391 { | 392 { |
| 392 margin-top: 25px; | 393 margin-top: 25px; |
| 393 margin-bottom: 25px; | 394 margin-bottom: 25px; |
| 394 } | 395 } |
| 395 | 396 |
| 396 #our-work | 397 #our-work |
| 397 { | 398 { |
| 398 padding-top: 50px; | 399 padding-top: 50px; |
| 399 padding-bottom: 50px; | 400 padding-bottom: 50px; |
| 400 background-color: #f0f0f0; | 401 background-color: #f2f2f2; |
| 401 } | 402 } |
| 402 | 403 |
| 403 #media | 404 #media |
| 404 { | 405 { |
| 405 margin-top: 25px; | 406 margin-top: 25px; |
| 406 } | 407 } |
| 407 | 408 |
| 408 #our-work .heading span | 409 #our-work .heading span |
| 409 { | 410 { |
| 410 background-color: #f0f0f0; | 411 background-color: #f0f0f0; |
| 411 } | 412 } |
| 412 | 413 |
| 413 #our-work .column | 414 #our-work .column |
| 414 { | 415 { |
| 415 text-align: center; | 416 text-align: left; |
| 416 } | 417 } |
| 417 | 418 |
| 418 .profile | 419 .profile |
| 419 { | 420 { |
| 420 text-align: center; | 421 text-align: center; |
| 421 margin-top: 0px; | 422 margin-top: 0px; |
| 422 margin-bottom: 30px; | 423 margin-bottom: 30px; |
| 423 } | 424 } |
| 424 | 425 |
| 425 .profile-image, | 426 .profile-image, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 518 .two-sidebars .column | 519 .two-sidebars .column |
| 519 { | 520 { |
| 520 width: 48.75%; | 521 width: 48.75%; |
| 521 } | 522 } |
| 522 | 523 |
| 523 .four-columns .column | 524 .four-columns .column |
| 524 { | 525 { |
| 525 width: 23.125%; | 526 width: 23.125%; |
| 526 } | 527 } |
| 527 | 528 |
| 529 /* | |
| 530 .four-columns .columns h1,h2,h3,h4,h5,h6 { | |
|
juliandoucette
2017/01/10 20:26:39
- Please delete commented code blocks
- This selec
| |
| 531 text-transform: uppercase; | |
| 532 } | |
| 533 */ | |
| 534 | |
| 528 .one-sidebar .sidebar-left, | 535 .one-sidebar .sidebar-left, |
| 529 .one-sidebars .sidebar-right, | 536 .one-sidebars .sidebar-right, |
| 530 .two-sidebars .sidebar-left, | 537 .two-sidebars .sidebar-left, |
| 531 .two-sidebars .sidebar-right | 538 .two-sidebars .sidebar-right |
| 532 { | 539 { |
| 533 width: 23.125%; | 540 width: 23.125%; |
| 534 } | 541 } |
| 535 | 542 |
| 536 .column:first-child | 543 .column:first-child |
| 537 { | 544 { |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 589 .ui-tabs-nav li:first-child | 596 .ui-tabs-nav li:first-child |
| 590 { | 597 { |
| 591 border-left: 1px solid #E1E1E1; | 598 border-left: 1px solid #E1E1E1; |
| 592 border-top: 1px solid #E1E1E1; | 599 border-top: 1px solid #E1E1E1; |
| 593 } | 600 } |
| 594 | 601 |
| 595 .ui-tabs-nav li.ui-tabs-active, | 602 .ui-tabs-nav li.ui-tabs-active, |
| 596 .ui-tabs-nav li:hover | 603 .ui-tabs-nav li:hover |
| 597 { | 604 { |
| 598 background-color: #fff; | 605 background-color: #fff; |
| 599 border-top: 2px solid #7ac142; | 606 border-top: 2px solid #161616; |
| 600 border-bottom: none; | 607 border-bottom: none; |
| 601 position: relative; | 608 position: relative; |
| 602 top: 2px; | 609 top: 2px; |
| 603 } | 610 } |
| 604 | 611 |
| 605 .ui-tabs-active .ui-tabs-anchor | 612 .ui-tabs-active .ui-tabs-anchor |
| 606 { | 613 { |
| 607 cursor: default; | 614 cursor: default; |
| 608 } | 615 } |
| 609 | 616 |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 859 { | 866 { |
| 860 display: block; | 867 display: block; |
| 861 border-top: 1px solid #eee; | 868 border-top: 1px solid #eee; |
| 862 } | 869 } |
| 863 | 870 |
| 864 .menu-list > li > a | 871 .menu-list > li > a |
| 865 { | 872 { |
| 866 display: block; | 873 display: block; |
| 867 margin: 0px; | 874 margin: 0px; |
| 868 padding: 10px; | 875 padding: 10px; |
| 869 font-size: 14px | 876 font-size: 14px; |
| 870 } | 877 } |
| 871 | 878 |
| 872 .menu-button | 879 .menu-button |
| 873 { | 880 { |
| 874 position: absolute; | 881 position: absolute; |
| 875 top: 9px; | 882 top: 9px; |
| 876 right: 50px; | 883 right: 50px; |
| 877 height: 32px; | 884 height: 32px; |
| 878 padding: 0 10px; | 885 padding: 0 10px; |
| 879 line-height: 32px; | 886 line-height: 32px; |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 925 padding-right: .1em; | 932 padding-right: .1em; |
| 926 border-right-width: 1px; | 933 border-right-width: 1px; |
| 927 border-right-width: 1px; | 934 border-right-width: 1px; |
| 928 } | 935 } |
| 929 | 936 |
| 930 #panels-openings | 937 #panels-openings |
| 931 { | 938 { |
| 932 margin-top: -40px; | 939 margin-top: -40px; |
| 933 } | 940 } |
| 934 } | 941 } |
| OLD | NEW |