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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/site/css/dart-style.css
diff --git a/src/site/css/dart-style.css b/src/site/css/dart-style.css
index d083c3620738a02cbdebd8c34d8b91e857a10737..a56febc7f33383f8da15a27e0a610d9f8ed5c5e3 100644
--- a/src/site/css/dart-style.css
+++ b/src/site/css/dart-style.css
@@ -614,8 +614,8 @@ pre.prettyprint {
height: 450px;
}
-.lang-dart, .lang-html, .lang-js, .lang-cpp, .lang-csharp, .lang-none,
-.lang-python, .lang-javascript, .lang-yaml {
+.lang-dart, .lang-html, .lang-js, .lang-bash, .lang-cpp, .lang-csharp,
+.lang-none, .lang-python, .lang-javascript, .lang-yaml {
max-width: 800px;
text-align: left;
margin-right: auto;
@@ -647,6 +647,16 @@ pre.prettyprint {
color:#fff !important;
}
+.lang-huge {
+ display: table;
+ font-size: 17px; /* font-size of btn-lg */
+ line-height: 24px; /* line-height of btn-lg */
+ margin: 12px auto;
+ max-width: 800px;
+ padding: 12px !important;
+ white-space: pre-wrap;
+}
+
.linenums li {
list-style-type: decimal !important;
}
@@ -966,10 +976,9 @@ pre li {
/* ***** Buttons ***** */
.btn-lg {
- padding: 10px 46px;
+ padding: 10px 15px;
font-size: 16px;
line-height: 1.33;
- text-transform:uppercase;
border:0;
-webkit-transition: background ease-out 500ms;
-moz-transition: background ease-out 500ms;
@@ -1467,6 +1476,38 @@ a[href^="http"]:not(a[href^="https://storage"]):not(.btn):after {
display: none;
}
+.btn-group.os-choices {
+ border-radius: 8px;
+ margin-top: 0;
+ margin-bottom: 20px; /* margin-bottom for h2 */
+}
+
+.btn-group.os-choices button {
+ /*background-color: rgba(0, 0, 0, 0.2);*/
+ background-color: rgba(255, 255, 255, 0.7);
+ text-transform: none;
+ font-size: 20px;
+ -webkit-backface-visibility: hidden;
+}
+
+.btn-group.os-choices button.inactive {
+ background-color: #EEE;
+ box-shadow: none;
+ color: rgba(0, 0, 0, 0.6);
+}
+
+.btn-group.os-choices button.active,
+.btn-group.os-choices button:hover {
+ background: 0;
+ color: white;
+ font-weight: 600;
+ opacity: 1;
+}
+
+.download-link {
+ white-space: nowrap;
+}
+
/* Tables in More downloads page.
*/
table.downloads th,
« 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