Skip to content

Commit 2635cc5

Browse files
committed
Add new styles
1 parent 1e98093 commit 2635cc5

5 files changed

Lines changed: 37 additions & 2 deletions

File tree

css/_components.footnotes.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,9 @@
44

55
.footnotes {
66
@include font-size(12px);
7+
8+
p {
9+
margin-bottom: 0;
10+
}
11+
712
}

css/_elements.details.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*------------------------------------*\
2+
#DETAILS
3+
\*------------------------------------*/
4+
5+
details {
6+
}
7+
8+
summary {
9+
color: $color-brand;
10+
font-weight: 600;
11+
cursor: pointer;
12+
text-decoration: none;
13+
14+
&::-webkit-details-marker {
15+
display: none;
16+
}
17+
18+
&:hover,
19+
&:focus,
20+
[open] & {
21+
text-decoration: underline;
22+
}
23+
24+
}

css/_scopes.post.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@
1616
background-color: rgba(0, 0, 0, 0.05);
1717
}
1818

19+
:target {
20+
background-color: #ffc;
21+
}
22+
1923
}

0 commit comments

Comments
 (0)