Skip to content

Commit 9b67fe4

Browse files
committed
style(css): space before headings + blue box
1 parent 7bfdc64 commit 9b67fe4

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

styles/styles.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
/* Space before headings */
2+
section.level2 {
3+
padding-top: 2em;
4+
}
5+
h3 {
6+
margin-top: 2em;
7+
}
8+
h4 {
9+
margin-top: 1.5em;
10+
}
11+
12+
/* Coloured boxes */
13+
.pale-blue {
14+
background-color: #e6f2fa;
15+
color: black;
16+
border: 2px solid #9ecae1;
17+
border-radius: 8px;
18+
padding: 1.2em 1em 0.5em 1em;
19+
margin: 1.5em 0;
20+
position: relative;
21+
box-shadow: 0 2px 8px rgba(25, 118, 210, 0.15);
22+
}

0 commit comments

Comments
 (0)