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

Unified Diff: chrome/common/extensions/docs/static/sass/_layout.scss

Issue 113963003: added scss files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moved site.css to out subdirectory Created 6 years, 11 months 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
Index: chrome/common/extensions/docs/static/sass/_layout.scss
diff --git a/chrome/common/extensions/docs/static/sass/_layout.scss b/chrome/common/extensions/docs/static/sass/_layout.scss
new file mode 100644
index 0000000000000000000000000000000000000000..242f866241d5c6d7f3af776ba8fb7c92f450d4d5
--- /dev/null
+++ b/chrome/common/extensions/docs/static/sass/_layout.scss
@@ -0,0 +1,71 @@
+@mixin content-container-layout {
+ margin: auto;
+ width: 90%;
+}
+
+//-----------------------------------------------------------------------
+// Layout
+//-----------------------------------------------------------------------
+
+* {
+ padding: 0;
+ margin: 0;
+ @include box-sizing(border-box);
+}
+
+html, body {
+ overflow-x: hidden; // Allows .span-full to take up entire viewport without overflowing.
+ overflow-y: auto;
+}
+
+img {
+ max-width: 100%;
+}
+
+#gc-container {
+ max-width: $site-max-width;
+ @include content-container-layout();
+}
+
+#gc-pagecontent {
+ > .g-section {
+ margin: $main-content-top-margin 0;
+ }
+}
+
+main {
+ margin-bottom: 50px;
+ position: relative;
+}
+
+footer[role="contentinfo"] {
+ padding: 40px 0 50px;
+}
+
+// Phone
+@media only screen and (max-width: $break-small) {
+ #gc-container {
+ width: auto;
+ }
+ #gc-pagecontent {
+ @include content-container-layout();
+
+ > .g-section {
+ margin: $main-content-top-margin / 2 0;
+ }
+ }
+ footer[role="contentinfo"] {
+ padding: $main-content-top-margin / 2 $main-content-top-margin - 10;
+ }
+}
+
+// Tablet
+@media only screen and (min-width: $break-small + 1) and (max-width: $break-large) {
+ #gc-container {
+ width: 95%;
+ }
+}
+
+@media only screen and (min-width: $break-large) {
+
+}
« no previous file with comments | « chrome/common/extensions/docs/static/sass/_html.scss ('k') | chrome/common/extensions/docs/static/sass/_mixins.scss » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698