-
Notifications
You must be signed in to change notification settings - Fork 493
/
style.css
executable file
·63 lines (54 loc) · 1.02 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
.learncheck {
padding: 1em 1em 1em 1em;
margin-bottom: 10px;
background: #9ED3AD 5px center/3em no-repeat;
}
.announcement {
padding: 1em 1em 1em 1em;
margin-bottom: 10px;
background: #F6D328 5px center/3em no-repeat;
}
.review {
padding: 1em 1em 1em 1em;
margin-bottom: 10px;
background: #9ED3AD 1px center/1em no-repeat;
}
p.caption {
color: #777;
margin-top: 10px;
}
p code {
white-space: inherit;
}
pre {
word-break: normal;
word-wrap: normal;
}
pre code {
white-space: inherit;
}
.border-box {
border: 2px solid #000; /* Optional: a border for definition */
padding: 15px;
margin: 15px 0;
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15); /* Adjust as needed */
border-radius: 8px; /* Optional: rounds the corners slightly */
}
.text-image-container {
display: flex;
justify-content: space-between;
align-items: center;
}
.text {
flex: 1;
margin-right: 15px;
}
.image {
flex-shrink: 0;
}
#border-box-container {
display: none;
}
body.index #border-box-container {
display: block;
}