-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathstyle.css
109 lines (96 loc) · 2.96 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
p.caption {
color: #ee3;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
figure {
padding: 0;
margin: auto;
}
figcaption {
color: black;
font-style: italic;
font-weight: 500;
padding: 0 5px 20px;
margin: 0;
text-align: center;
}
pre code {
white-space: inherit;
}
.note {
background-color: #e8f4fd; /* Light blue background */
border-left: 5px solid #2b8cc4; /* Dark blue border on the left */
padding: 10px 10px 10px 40px; /* Padding inside the box */
margin: 10px 0; /* Margin around the box */
font-family: Arial, sans-serif; /* Font family */
color: #333; /* Text color */
position: relative; /* For positioning the icon */
margin-right: 0;
}
.note::before {
content: "ℹ️"; /* Information icon */
position: absolute; /* Absolute position relative to the note */
left: 10px; /* Position from the left */
top: 50%; /* Center vertically */
transform: translateY(-50%); /* Align center with height of the box */
font-size: 20px; /* Size of the icon */
}
.warning {
background-color: #f6f4d5; /* Light yellow background */
border-left: 5px solid #c4b72b; /* Dark yellow border on the left */
padding: 10px 10px 10px 40px; /* Padding inside the box */
margin: 10px 0; /* Margin around the box */
font-family: Arial, sans-serif; /* Font family */
color: #333; /* Text color */
position: relative; /* For positioning the icon */
margin-right: 0;
}
.warning::before {
content: "⚠️"; /* Warning icon */
position: absolute; /* Absolute position relative to the note */
left: 10px; /* Position from the left */
top: 50%; /* Center vertically */
transform: translateY(-50%); /* Align center with height of the box */
font-size: 20px; /* Size of the icon */
}
.important {
background-color: #ffe8e9; /* Light red background */
border-left: 5px solid #c42b2b; /* Dark red border on the left */
padding: 10px 10px 10px 40px; /* Padding inside the box */
margin: 10px 0; /* Margin around the box */
font-family: Arial, sans-serif; /* Font family */
color: #333; /* Text color */
position: relative; /* For positioning the icon */
margin-right: 0;
}
.important::before {
content: "🚨"; /* Siren icon */
position: absolute; /* Absolute position relative to the note */
left: 10px; /* Position from the left */
top: 50%; /* Center vertically */
transform: translateY(-50%); /* Align center with height of the box */
font-size: 20px; /* Size of the icon */
}
.glossaryterm {
background-color: #f8f8f8; /* Light grey background */
border-left: 5px solid #ccc; /* Darker grey border on the left */
padding: 5px 5px 5px 20px; /* Padding inside the box */
margin: 10px 0; /* Margin around the box */
font-family: Arial, sans-serif; /* Font family */
color: #333; /* Text color */
position: relative; /* For positioning the icon */
margin-right: 0;
margin-bottom: 20px;
}
.centerimage {
display: block;
margin-left: auto;
margin-right: auto;
}