1
+ /* Breakpoints */
1
2
nav {
2
3
background : # fff ;
3
- padding : 15px 30px ;
4
- width : auto;
5
- margin-bottom : 40px ;
4
+ padding : 25px 0 ;
5
+ margin : 0 auto;
6
6
box-shadow : 0 0 5px # bec6cf ;
7
7
}
8
+ @media (max-width : 600px ) {
9
+ nav {
10
+ box-shadow : unset;
11
+ }
12
+ }
8
13
nav .nav-wrapper {
9
- max-width : 900 px ;
14
+ max-width : 85 vw ;
10
15
display : flex;
11
16
justify-content : space-between;
12
17
align-items : center;
13
18
width : auto;
14
19
margin : 0 auto;
15
20
}
21
+ @media (max-width : 600px ) {
22
+ nav .nav-wrapper {
23
+ max-width : 90vw ;
24
+ }
25
+ }
16
26
nav .nav-wrapper .left-nav {
17
27
display : flex;
18
28
justify-content : space-between;
@@ -45,12 +55,55 @@ html {
45
55
background : # f0f0f0 ;
46
56
height : 100% ;
47
57
}
58
+ body .container ,
59
+ html .container {
60
+ width : 850px ;
61
+ max-width : 80vw ;
62
+ min-height : 100% ;
63
+ background : white;
64
+ margin : 40px auto 0 ;
65
+ padding : 3vw ;
66
+ box-shadow : 0 0 5px # bec6cf ;
67
+ }
68
+ @media (max-width : 600px ) {
69
+ body .container ,
70
+ html .container {
71
+ width : 90vw ;
72
+ max-width : unset;
73
+ padding : 5vw ;
74
+ margin : 0 ;
75
+ box-shadow : 0 0 3px # bec6cf ;
76
+ }
77
+ }
78
+ body .container .attribute-value ,
79
+ html .container .attribute-value {
80
+ font-weight : 300 ;
81
+ font-size : 0.9em ;
82
+ }
83
+ body .container h1 ,
84
+ html .container h1 {
85
+ margin-top : 0 ;
86
+ font-size : 2.5em ;
87
+ line-height : 1 ;
88
+ color : # 393b40 ;
89
+ }
90
+ body .container p ,
91
+ html .container p {
92
+ font-weight : 300 ;
93
+ font-size : 1.1em ;
94
+ line-height : 1.4 ;
95
+ }
48
96
ul {
49
97
list-style : none;
50
98
width : 50% ;
51
99
border : 1px solid # e6e6e6 ;
52
100
padding : 10px ;
53
101
}
102
+ @media (max-width : 600px ) {
103
+ ul {
104
+ width : unset;
105
+ }
106
+ }
54
107
ul li {
55
108
display : flex;
56
109
justify-content : space-between;
@@ -64,37 +117,32 @@ ul li:last-of-type {
64
117
margin-bottom : 0 ;
65
118
padding-bottom : 0 ;
66
119
}
67
- .container {
68
- max-width : 847px ;
69
- margin : 0 auto;
70
- min-height : 100% ;
71
- background : white;
72
- padding : 40px ;
73
- box-shadow : 0 0 5px # bec6cf ;
74
- }
75
- .container .attribute-value {
76
- font-weight : 300 ;
77
- font-size : 0.9em ;
78
- }
79
- h1 {
80
- margin-top : 0 ;
81
- }
82
120
121
+ /* Breakpoints */
83
122
nav {
84
123
background : # fff ;
85
- padding : 15px 30px ;
86
- width : auto;
87
- margin-bottom : 40px ;
124
+ padding : 25px 0 ;
125
+ margin : 0 auto;
88
126
box-shadow : 0 0 5px # bec6cf ;
89
127
}
128
+ @media (max-width : 600px ) {
129
+ nav {
130
+ box-shadow : unset;
131
+ }
132
+ }
90
133
nav .nav-wrapper {
91
- max-width : 900 px ;
134
+ max-width : 85 vw ;
92
135
display : flex;
93
136
justify-content : space-between;
94
137
align-items : center;
95
138
width : auto;
96
139
margin : 0 auto;
97
140
}
141
+ @media (max-width : 600px ) {
142
+ nav .nav-wrapper {
143
+ max-width : 90vw ;
144
+ }
145
+ }
98
146
nav .nav-wrapper .left-nav {
99
147
display : flex;
100
148
justify-content : space-between;
@@ -119,6 +167,7 @@ nav a:hover {
119
167
opacity : 0.7 ;
120
168
}
121
169
170
+ /* Breakpoints */
122
171
123
172
p {
124
173
width : 100% ;
0 commit comments