Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(304)

Side by Side Diff: src/site/css/dart-style.css

Issue 701913002: Editing Sam's downloads page (Closed) Base URL: https://github.com/dart-lang/www.dartlang.org.git@master
Patch Set: incorporate Sam's review comments Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/site/_includes/downloads/_windows_section.html ('k') | src/site/js/download-info.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 body { 1 body {
2 font-family: 'Roboto', sans-serif; 2 font-family: 'Roboto', sans-serif;
3 font-size: 15px; 3 font-size: 15px;
4 -webkit-font-smoothing: antialiased; 4 -webkit-font-smoothing: antialiased;
5 } 5 }
6 6
7 /* ***** General ***** */ 7 /* ***** General ***** */
8 p, 8 p,
9 dt, 9 dt,
10 dd { 10 dd {
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 .allow-scroll { 607 .allow-scroll {
608 word-wrap: normal; 608 word-wrap: normal;
609 } 609 }
610 610
611 .code-hldr { 611 .code-hldr {
612 text-align: center; 612 text-align: center;
613 min-height: 450px; 613 min-height: 450px;
614 height: 450px; 614 height: 450px;
615 } 615 }
616 616
617 .lang-dart, .lang-html, .lang-js, .lang-cpp, .lang-csharp, .lang-none, 617 .lang-dart, .lang-html, .lang-js, .lang-bash, .lang-cpp, .lang-csharp,
618 .lang-python, .lang-javascript, .lang-yaml { 618 .lang-none, .lang-python, .lang-javascript, .lang-yaml {
619 max-width: 800px; 619 max-width: 800px;
620 text-align: left; 620 text-align: left;
621 margin-right: auto; 621 margin-right: auto;
622 margin-left: auto; 622 margin-left: auto;
623 padding: 5px !important; 623 padding: 5px !important;
624 } 624 }
625 625
626 @media (max-width: 500px) { 626 @media (max-width: 500px) {
627 .lang-dart, .lang-html { 627 .lang-dart, .lang-html {
628 font-size: 12px; 628 font-size: 12px;
(...skipping 11 matching lines...) Expand all
640 } 640 }
641 641
642 .lang-none * { 642 .lang-none * {
643 color: #4D4D4D !important; /* color of .pln */ 643 color: #4D4D4D !important; /* color of .pln */
644 } 644 }
645 645
646 .lang-dart a span, .lang-html a span { 646 .lang-dart a span, .lang-html a span {
647 color:#fff !important; 647 color:#fff !important;
648 } 648 }
649 649
650 .lang-huge {
651 display: table;
652 font-size: 17px; /* font-size of btn-lg */
653 line-height: 24px; /* line-height of btn-lg */
654 margin: 12px auto;
655 max-width: 800px;
656 padding: 12px !important;
657 white-space: pre-wrap;
658 }
659
650 .linenums li { 660 .linenums li {
651 list-style-type: decimal !important; 661 list-style-type: decimal !important;
652 } 662 }
653 663
654 .popover { 664 .popover {
655 background: #3d3d3d; 665 background: #3d3d3d;
656 color: #bebebe; 666 color: #bebebe;
657 padding-top: 0; 667 padding-top: 0;
658 font-family:'Roboto', sans-serif; 668 font-family:'Roboto', sans-serif;
659 } 669 }
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
959 @media (max-width: 992px) { 969 @media (max-width: 992px) {
960 .productivity-tools-options h6 { 970 .productivity-tools-options h6 {
961 margin-top: 35px; 971 margin-top: 35px;
962 margin-bottom: 10px; 972 margin-bottom: 10px;
963 } 973 }
964 } 974 }
965 975
966 /* ***** Buttons ***** */ 976 /* ***** Buttons ***** */
967 977
968 .btn-lg { 978 .btn-lg {
969 padding: 10px 46px; 979 padding: 10px 15px;
970 font-size: 16px; 980 font-size: 16px;
971 line-height: 1.33; 981 line-height: 1.33;
972 text-transform:uppercase;
973 border:0; 982 border:0;
974 -webkit-transition: background ease-out 500ms; 983 -webkit-transition: background ease-out 500ms;
975 -moz-transition: background ease-out 500ms; 984 -moz-transition: background ease-out 500ms;
976 -o-transition: background ease-out 500ms; 985 -o-transition: background ease-out 500ms;
977 transition: background ease-out 500ms; 986 transition: background ease-out 500ms;
978 -moz-box-shadow: 0 1px 0px 1px #d9d9d9; 987 -moz-box-shadow: 0 1px 0px 1px #d9d9d9;
979 -webkit-box-shadow: 0 1px 0px 1px #d9d9d9; 988 -webkit-box-shadow: 0 1px 0px 1px #d9d9d9;
980 box-shadow: 0 1px 0px 1px #d9d9d9; 989 box-shadow: 0 1px 0px 1px #d9d9d9;
981 font-weight:300; 990 font-weight:300;
982 } 991 }
(...skipping 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
1460 } 1469 }
1461 1470
1462 /* Disable the download buttons by default. 1471 /* Disable the download buttons by default.
1463 * Let scripts.js enable all download buttons 1472 * Let scripts.js enable all download buttons
1464 * and os choices dialog. 1473 * and os choices dialog.
1465 */ 1474 */
1466 .download-buttons, .os-choices { 1475 .download-buttons, .os-choices {
1467 display: none; 1476 display: none;
1468 } 1477 }
1469 1478
1479 .btn-group.os-choices {
1480 border-radius: 8px;
1481 margin-top: 0;
1482 margin-bottom: 20px; /* margin-bottom for h2 */
1483 }
1484
1485 .btn-group.os-choices button {
1486 /*background-color: rgba(0, 0, 0, 0.2);*/
1487 background-color: rgba(255, 255, 255, 0.7);
1488 text-transform: none;
1489 font-size: 20px;
1490 -webkit-backface-visibility: hidden;
1491 }
1492
1493 .btn-group.os-choices button.inactive {
1494 background-color: #EEE;
1495 box-shadow: none;
1496 color: rgba(0, 0, 0, 0.6);
1497 }
1498
1499 .btn-group.os-choices button.active,
1500 .btn-group.os-choices button:hover {
1501 background: 0;
1502 color: white;
1503 font-weight: 600;
1504 opacity: 1;
1505 }
1506
1507 .download-link {
1508 white-space: nowrap;
1509 }
1510
1470 /* Tables in More downloads page. 1511 /* Tables in More downloads page.
1471 */ 1512 */
1472 table.downloads th, 1513 table.downloads th,
1473 table.downloads td { 1514 table.downloads td {
1474 border: solid 1px #999999; 1515 border: solid 1px #999999;
1475 padding: 2px 5px; 1516 padding: 2px 5px;
1476 text-align: center; 1517 text-align: center;
1477 vertical-align: middle; 1518 vertical-align: middle;
1478 } 1519 }
1479 1520
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
1612 } 1653 }
1613 1654
1614 .titlepage h3 { 1655 .titlepage h3 {
1615 font: 400 26px/32px 'Montserrat', sans-serif; 1656 font: 400 26px/32px 'Montserrat', sans-serif;
1616 } 1657 }
1617 1658
1618 /* Add a box; needed for some screenshot images. */ 1659 /* Add a box; needed for some screenshot images. */
1619 .thinborder { 1660 .thinborder {
1620 border:1px solid #021a40; 1661 border:1px solid #021a40;
1621 } 1662 }
OLDNEW
« no previous file with comments | « src/site/_includes/downloads/_windows_section.html ('k') | src/site/js/download-info.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698