Skip to content

Commit 3a4055a

Browse files
committed
updated css
1 parent cbfc725 commit 3a4055a

File tree

1 file changed

+53
-3
lines changed

1 file changed

+53
-3
lines changed

assets/kylestechkorner/css/kylestechkorner-main.css

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,20 @@
77

88
/* Extra small devices (phones, 600px and down) */
99
@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+
1019
.latest-status {
1120
/* display: inline-block; */
1221
padding: 0 1em 1em;
1322
border: 1px solid var(--accent);
14-
width: 200px;
23+
width: 100%;
1524
margin: 1.25em auto;
1625
text-align: center;
1726
border-radius: 5px;
@@ -38,22 +47,63 @@
3847
margin: 0 0 1rem 0;
3948
border-radius: 5px;
4049
}
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+
}
4159
}
4260

4361
/* Small devices (portrait tablets and large phones, 600px and up) */
4462
@media only screen and (min-width: 600px) {
63+
body {
64+
padding:2em
65+
}
4566

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+
}
4688
}
4789

4890

4991
/* Medium devices (landscape tablets, 768px and up) */
5092
@media only screen and (min-width: 768px) {
51-
93+
.weblog-logo {
94+
display:inline-block
95+
}
5296
}
5397

5498
/* Large devices (laptops/desktops, 992px and up) */
5599
@media only screen and (min-width: 992px) {
100+
.grid-items {
101+
grid-template-columns:repeat(2,1fr)
102+
}
56103

104+
.grid-items--3-up {
105+
grid-template-columns: repeat(3,1fr)
106+
}
57107
}
58108

59109
/* Extra large devices (large laptops and desktops, 1200px and up) */
@@ -199,7 +249,7 @@ main {
199249
display: block;
200250
padding: 2em;
201251
text-align: left;
202-
margin: 2em auto!important;
252+
margin: 2em auto;
203253
}
204254

205255
footer ul {

0 commit comments

Comments
 (0)