-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
70 lines (57 loc) · 1.17 KB
/
style.css
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
62
63
64
65
66
67
68
69
70
@font-face {
font-family: "My Custom Font";
src: url(fonts/Roboto_Mono/RobotoMono-VariableFont_wght.ttf) format("truetype");
}
body {
font-family: 'Roboto Mono', monospace;
}
#title h1{
color: red;
visibility: collapse;
}
p {
margin-bottom: 2rem;
}
.chorus {
padding-top: 0px;
padding-left: 5px;
margin-left: -5px; /* this realigns the left border with the rest of the text */
padding-bottom: 5px;
border-radius: 5px;
margin-bottom: 2rem;
border: 2px solid darkgray;
border-top: 20px solid darkgray;
}
/*
Selects all .chorus elements without a "data-options" attribute
and set's the content to "Chorus".
*/
:not([data-options]).chorus::before{
content: "Chorus";
}
/*
Selects all .chorus elements with a "data-options" attribute
and set's the content to that attribute
*/
[data-options].chorus::before{
content: attr(data-options);
}
/*
Styling the content which is set above
*/
.chorus::before {
position: relative;
top: -16px;
color: white;
}
/*remove some a big gap after the title*/
.chorus>:first-child{
margin-top: -10px;
}
/*remove a big gap after the last p*/
.chorus>:last-child{
margin-bottom: 0rem;
}
.tab {
font-size: smaller;
}