@@ -44,147 +44,135 @@ body {
44
44
color : # 212121 ;
45
45
}
46
46
47
- .row {
48
- width : 100% ;
49
- max-width : 1140px ;
50
- }
51
-
52
- .row : before , .row : after {
53
- content : "" ;
54
- display : table;
55
- clear : both;
56
- }
57
-
58
- .row .col-1 {
47
+ .col-1 {
59
48
width : 8.33333% ;
60
- float : left;
61
49
}
62
50
63
- .row . col-2 {
51
+ .col-2 {
64
52
width : 16.66667% ;
65
- float : left;
66
53
}
67
54
68
- .row . col-3 {
55
+ .col-3 {
69
56
width : 25% ;
70
- float : left;
71
57
}
72
58
73
- .row . col-4 {
59
+ .col-4 {
74
60
width : 33.33333% ;
75
- float : left;
76
61
}
77
62
78
- .row . col-5 {
63
+ .col-5 {
79
64
width : 41.66667% ;
80
- float : left;
81
65
}
82
66
83
- .row . col-6 {
67
+ .col-6 {
84
68
width : 50% ;
85
- float : left;
86
69
}
87
70
88
- .row . col-7 {
71
+ .col-7 {
89
72
width : 58.33333% ;
90
- float : left;
91
73
}
92
74
93
- .row . col-8 {
75
+ .col-8 {
94
76
width : 66.66667% ;
95
- float : left;
96
77
}
97
78
98
- .row . col-9 {
79
+ .col-9 {
99
80
width : 75% ;
100
- float : left;
101
81
}
102
82
103
- .row . col-10 {
83
+ .col-10 {
104
84
width : 83.33333% ;
105
- float : left;
106
85
}
107
86
108
- .row . col-11 {
87
+ .col-11 {
109
88
width : 91.66667% ;
110
- float : left;
111
89
}
112
90
113
- .row . col-12 {
91
+ .col-12 {
114
92
width : 100% ;
115
- float : left;
93
+ }
94
+
95
+ .row {
96
+ width : 100% ;
97
+ max-width : 1140px ;
98
+ }
99
+
100
+ .row : before , .row : after {
101
+ content : "" ;
102
+ display : table;
103
+ clear : both;
116
104
}
117
105
118
106
.row * [class *= col- ] {
119
- padding : 5 px 0 ;
107
+ padding : .2 rem 0 ;
120
108
-webkit-box-sizing : border-box;
121
109
box-sizing : border-box;
110
+ float : left;
122
111
}
123
112
124
113
h1 {
125
- font-size : 48px ;
126
- line-height : 58px ;
114
+ font-size : 3rem ;
127
115
}
128
116
129
117
h2 {
130
- font-size : 40px ;
131
- line-height : 50px ;
118
+ font-size : 2.5rem ;
132
119
}
133
120
134
121
h3 {
135
- font-size : 32px ;
136
- line-height : 42px ;
122
+ font-size : 2rem ;
137
123
}
138
124
139
125
h4 {
140
- font-size : 28px ;
141
- line-height : 38px ;
126
+ font-size : 1.75rem ;
142
127
}
143
128
144
129
h5 {
145
- font-size : 24px ;
146
- line-height : 34px ;
130
+ font-size : 1.5rem ;
147
131
}
148
132
149
133
h6 {
150
- font-size : 20px ;
151
- line-height : 30px ;
134
+ font-size : 1.25rem ;
135
+ }
136
+
137
+ h1 , h2 , h3 , h4 , h5 , h6 {
138
+ line-height : 1.2 ;
152
139
}
153
140
154
141
/* Forms and buttons */
155
- input ,
142
+ input : not ([ type = submit ]) : not ([ type = reset ]) : not ([ type = button ]) : not ([ type = checkbox ]) : not ([ type = radio ]) ,
156
143
optgroup ,
157
144
select ,
158
145
textarea {
159
146
font-family : inherit;
160
147
font-size : 100% ;
161
148
line-height : 150% ;
162
- margin : 0 ;
163
149
-webkit-appearance : none;
164
150
background : # FFFFFF ;
165
- padding : 0 3 px ;
151
+ padding : .2 rem .4 rem ;
166
152
color : # 212121 ;
167
153
border : 1px solid # AAAAAA ;
168
- border-radius : 3 px ;
154
+ border-radius : .2 rem ;
169
155
-webkit-transition : border-color 0.2s ease;
170
156
transition : border-color 0.2s ease;
157
+ width : 100% ;
158
+ max-width : 100% ;
171
159
}
172
160
173
- input : focus ,
161
+ input : not ([ type = submit ]) : not ([ type = reset ]) : not ([ type = button ]) : not ([ type = checkbox ]) : not ([ type = radio ]) : focus ,
174
162
optgroup : focus ,
175
163
select : focus ,
176
164
textarea : focus {
177
165
border-color : # 7FDBFF ;
178
166
}
179
167
180
- input : disabled ,
168
+ input : not ([ type = submit ]) : not ([ type = reset ]) : not ([ type = button ]) : not ([ type = checkbox ]) : not ([ type = radio ]) : disabled ,
181
169
optgroup : disabled ,
182
170
select : disabled ,
183
171
textarea : disabled {
184
172
background-color : # DDDDDD ;
185
173
}
186
174
187
- input : invalid ,
175
+ input : not ([ type = submit ]) : not ([ type = reset ]) : not ([ type = button ]) : not ([ type = checkbox ]) : not ([ type = radio ]) : invalid ,
188
176
optgroup : invalid ,
189
177
select : invalid ,
190
178
textarea : invalid {
@@ -193,33 +181,43 @@ textarea:invalid {
193
181
box-shadow : none;
194
182
}
195
183
184
+ input : not ([type = submit ]): not ([type = reset ]), select , textarea , optgroup {
185
+ margin : .5rem 0 ;
186
+ }
187
+
196
188
select {
197
189
padding-right : 24px ;
198
190
background-image : url (data:image/svg+xml;base64, PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTcuNDEsOC41OEwxMiwxMy4xN0wxNi41OSw4LjU4TDE4LDEwTDEyLDE2TDYsMTBMNy40MSw4LjU4WiIgLz48L3N2Zz4=);
199
191
background-position : 100% 50% ;
200
192
background-repeat : no-repeat;
201
193
}
202
194
203
- /* Remove the input type number arrows */
204
- input [type = "number" ]::-webkit-outer-spin-button , input [type = "number" ]::-webkit-inner-spin-button {
205
- -webkit-appearance : none;
206
- margin : 0 ;
195
+ label , legend {
196
+ display : block;
207
197
}
208
198
209
- /* Buttons and alerts */
210
- button , a .button , . alert , * [type = submit ], * [type = reset ] {
199
+ /* Buttons */
200
+ button , a .button , * [type = submit ], * [type = reset ] {
211
201
background-color : # FFFFFF ;
212
202
border : 1px solid # AAAAAA ;
213
- border-radius : 3 px ;
203
+ border-radius : .2 rem ;
214
204
line-height : 2rem ;
215
205
color : # 212121 ;
216
- padding : 0 10 px ;
206
+ padding : 0 2 rem ;
217
207
height : 2rem ;
218
208
display : inline-block;
209
+ font-weight : bold;
210
+ -webkit-box-sizing : border-box;
211
+ box-sizing : border-box;
212
+ font-size : 1rem ;
219
213
}
220
214
215
+ /* Alerts */
221
216
.alert {
217
+ display : block;
222
218
margin : 10px 0 ;
219
+ padding : .5rem ;
220
+ border-radius : .2rem ;
223
221
}
224
222
225
223
.primary , .success , .danger , .warning , .info , * : disabled {
@@ -299,7 +297,7 @@ video, audio {
299
297
300
298
.navbar .navbar-title {
301
299
font-weight : bold;
302
- font-size : 120 % ;
300
+ font-size : 1.2 rem ;
303
301
}
304
302
305
303
.navbar .fixed {
@@ -318,6 +316,7 @@ video, audio {
318
316
319
317
.navbar .navbar-vert a , .navbar .navbar-vert .navbar-title {
320
318
display : block;
319
+ padding : .2rem .5rem ;
321
320
}
322
321
323
322
a {
@@ -370,8 +369,9 @@ pre {
370
369
white-space : pre-wrap;
371
370
}
372
371
373
- ul , ol , p , table , blockquote , form , blockquote , pre , .resp-iframe {
374
- margin-bottom : 2rem ;
372
+ ul , ol , p , table , blockquote , form , blockquote , pre , .resp-iframe ,
373
+ h1 , h2 , h3 , h4 , h5 , h6 , .card {
374
+ margin-bottom : 1rem ;
375
375
}
376
376
377
377
/* Utilities */
@@ -395,16 +395,31 @@ ul, ol, p, table, blockquote, form, blockquote, pre, .resp-iframe {
395
395
float : right;
396
396
}
397
397
398
+ /* Cards */
399
+ .card {
400
+ border-radius : .2rem ;
401
+ -webkit-box-shadow : 1px 1px 1px rgba (0 , 0 , 0 , 0.2 ), -1px -1px 1px rgba (0 , 0 , 0 , 0.2 );
402
+ box-shadow : 1px 1px 1px rgba (0 , 0 , 0 , 0.2 ), -1px -1px 1px rgba (0 , 0 , 0 , 0.2 );
403
+ }
404
+
405
+ .card .card-title , .card .card-body , .card .card-footer {
406
+ padding : .5rem ;
407
+ }
408
+
409
+ .card .card-title {
410
+ font-size : 22px ;
411
+ font-weight : bold;
412
+ }
413
+
414
+ .card .card-footer {
415
+ border-top : 1px solid # DDDDDD ;
416
+ }
417
+
418
+ .card p {
419
+ margin : 0 ;
420
+ }
421
+
398
422
@media (max-width : 639px ) {
399
- /*.navbar {
400
- line-height: 1;
401
-
402
- a, .navbar-title {
403
- display: block;
404
- margin: 10px 0;
405
- width: auto;
406
- }
407
- }*/
408
423
table .responsive thead {
409
424
display : none;
410
425
}
@@ -445,4 +460,3 @@ ul, ol, p, table, blockquote, form, blockquote, pre, .resp-iframe {
445
460
padding : 0 ;
446
461
}
447
462
}
448
- /*# sourceMappingURL=microcss.css.map */
0 commit comments