-
Notifications
You must be signed in to change notification settings - Fork 0
/
stat-block.scss
61 lines (53 loc) · 1.39 KB
/
stat-block.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
$dnd-red: #922610;
.stat-block {
// I'd love to match this on the <hr> before, but the Markdown renders it
// in a <div><hr></div> so I don't know how to match it.
// Basically I want div(> hr) + div > blockquote
blockquote {
box-shadow: 0 0 1.5rem #867453;
background: #FDF1DC;
// background-image: url('https://tetra-cube.com/dnd/dndimages/statblockparch.jpg');
background-size: cover;
background-position: center;
color: rgb(33, 37, 41);
h1, h2, h3 {
color: $dnd-red;
font-family: "Libre Baskerville", "Lora", "Calisto MT", "Bookman Old Style", Bookman, "Goudy Old Style", Garamond, "Hoefler Text", "Bitstream Charter", Georgia, serif;
margin: 0;
}
h3 {
padding-left: .5vw;
margin-top: 1vw;
}
p {
margin: 0;
}
hr {
border: none;
height: 5px;
background-color: transparent;
background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPSc1JyBoZWlnaHQ9JzUnPjxwYXRoIGQ9J00wIDAgTDUgMS43NSBWMy4yNSBMMCA1IFonIHN0cm9rZS13aWR0aD0nMCcgZmlsbD0nIzkyMjYxMCcvPjwvc3ZnPg");
background-repeat: no-repeat;
background-size: 100% 100%;
width: 100%;
display: block;
margin: 0.5vw 0 0.5vw 0;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
li {
color: $dnd-red;
}
table {
color: $dnd-red;
width: 100%;
margin: 0;
}
table, tr, th, td {
border: none;
}
}
}