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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 @mixin content-container-layout {
2 margin: auto;
3 width: 90%;
4 }
5
6 //-----------------------------------------------------------------------
7 // Layout
8 //-----------------------------------------------------------------------
9
10 * {
11 padding: 0;
12 margin: 0;
13 @include box-sizing(border-box);
14 }
15
16 html, body {
17 overflow-x: hidden; // Allows .span-full to take up entire viewport without ov erflowing.
18 overflow-y: auto;
19 }
20
21 img {
22 max-width: 100%;
23 }
24
25 #gc-container {
26 max-width: $site-max-width;
27 @include content-container-layout();
28 }
29
30 #gc-pagecontent {
31 > .g-section {
32 margin: $main-content-top-margin 0;
33 }
34 }
35
36 main {
37 margin-bottom: 50px;
38 position: relative;
39 }
40
41 footer[role="contentinfo"] {
42 padding: 40px 0 50px;
43 }
44
45 // Phone
46 @media only screen and (max-width: $break-small) {
47 #gc-container {
48 width: auto;
49 }
50 #gc-pagecontent {
51 @include content-container-layout();
52
53 > .g-section {
54 margin: $main-content-top-margin / 2 0;
55 }
56 }
57 footer[role="contentinfo"] {
58 padding: $main-content-top-margin / 2 $main-content-top-margin - 10;
59 }
60 }
61
62 // Tablet
63 @media only screen and (min-width: $break-small + 1) and (max-width: $break-larg e) {
64 #gc-container {
65 width: 95%;
66 }
67 }
68
69 @media only screen and (min-width: $break-large) {
70
71 }
OLDNEW
« 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