File tree 1 file changed +53
-3
lines changed
assets/kylestechkorner/css 1 file changed +53
-3
lines changed Original file line number Diff line number Diff line change 7
7
8
8
/* Extra small devices (phones, 600px and down) */
9
9
@media only screen and (max-width : 600px ) {
10
+ body {
11
+ padding-inline : 1em
12
+ }
13
+
14
+ main {
15
+ padding : 1.5em ;
16
+ margin : 2em 1em ;
17
+ }
18
+
10
19
.latest-status {
11
20
/* display: inline-block; */
12
21
padding : 0 1em 1em ;
13
22
border : 1px solid var (--accent );
14
- width : 200 px ;
23
+ width : 100 % ;
15
24
margin : 1.25em auto;
16
25
text-align : center;
17
26
border-radius : 5px ;
38
47
margin : 0 0 1rem 0 ;
39
48
border-radius : 5px ;
40
49
}
50
+
51
+ .grid-items {
52
+ display : inline;
53
+ margin : 0 auto;
54
+ grid-template-columns : repeat (2 , 1fr );
55
+ grid-auto-rows : min-content;
56
+ column-gap : 2em ;
57
+ row-gap : 2em
58
+ }
41
59
}
42
60
43
61
/* Small devices (portrait tablets and large phones, 600px and up) */
44
62
@media only screen and (min-width : 600px ) {
63
+ body {
64
+ padding : 2em
65
+ }
45
66
67
+ blockquote {
68
+ margin : 1.5em 1em ;
69
+ padding : .5em 2em ;
70
+ }
71
+
72
+ blockquote ::after {
73
+ bottom : .25em ;
74
+ font-size : 1.5em ;
75
+ right : .5em
76
+ }
77
+
78
+ .weblog-title {
79
+ margin-top : 1rem
80
+ }
81
+
82
+ .weblog-logo {
83
+ height : calc (2em + 6px );
84
+ margin-bottom : 0 ;
85
+ vertical-align : -.5em ;
86
+ width : calc (2em + 6px )
87
+ }
46
88
}
47
89
48
90
49
91
/* Medium devices (landscape tablets, 768px and up) */
50
92
@media only screen and (min-width : 768px ) {
51
-
93
+ .weblog-logo {
94
+ display : inline-block
95
+ }
52
96
}
53
97
54
98
/* Large devices (laptops/desktops, 992px and up) */
55
99
@media only screen and (min-width : 992px ) {
100
+ .grid-items {
101
+ grid-template-columns : repeat (2 , 1fr )
102
+ }
56
103
104
+ .grid-items--3-up {
105
+ grid-template-columns : repeat (3 , 1fr )
106
+ }
57
107
}
58
108
59
109
/* Extra large devices (large laptops and desktops, 1200px and up) */
@@ -199,7 +249,7 @@ main {
199
249
display : block;
200
250
padding : 2em ;
201
251
text-align : left;
202
- margin : 2em auto!important ;
252
+ margin : 2em auto;
203
253
}
204
254
205
255
footer ul {
You can’t perform that action at this time.
0 commit comments