Skip to content

Commit 43a940f

Browse files
committed
Minor css updates
1 parent 38e33b8 commit 43a940f

File tree

3 files changed

+30
-2
lines changed

3 files changed

+30
-2
lines changed

blocks/cards/cards.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -320,6 +320,25 @@
320320
}
321321
/* End of Cards - Portfolio */
322322

323+
/* grid-4 */
324+
.cards.grid-4 > ul {
325+
display: grid;
326+
grid-template-columns: 1fr 1fr 1fr 1fr;
327+
}
328+
329+
/* grid-3 */
330+
.cards.grid-3 > ul {
331+
display: grid;
332+
grid-template-columns: 1fr 1fr 1fr;
333+
grid-gap: 24px 30px;
334+
}
335+
336+
/* grid-2 */
337+
.cards.grid-2 > ul {
338+
display: grid;
339+
grid-template-columns: 1fr 1fr;
340+
grid-gap: 24px 30px;
341+
}
323342

324343
/* Modal Container */
325344
.modal {

blocks/tabs/tabs.css

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,16 @@
6262
display: none;
6363
}
6464

65+
.tabs .tabs-panel img {
66+
max-height: 300px;
67+
width: auto;
68+
display: block;
69+
}
70+
71+
.tabs .tabs-panel code {
72+
font-size: 10px;
73+
}
74+
6575
.tabs-wrapper:not(:last-of-type) {
6676
margin-bottom: 2rem;
6777
}

styles/styles.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ p, dl, ol, ul, pre, blockquote {
102102

103103
code, pre {
104104
font-family: var(--fixed-font-family);
105-
font-size: var(--body-font-size-s);
106105
}
107106

108107
code {
@@ -139,7 +138,7 @@ code, pre, samp {
139138

140139
code, samp {
141140
padding: .125em;
142-
font-size: 14px;
141+
font-size: 10px;
143142
}
144143

145144
pre {

0 commit comments

Comments
 (0)