forked from docker-ko/docker-ko.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontent_style.css
More file actions
131 lines (112 loc) · 2.09 KB
/
content_style.css
File metadata and controls
131 lines (112 loc) · 2.09 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#content h1,
#content h2,
#content h3,
#content h4 {
font-weight: 500;
margin-bottom: 1rem;
margin-top: 2rem;
color: var(--color-content-heading);
}
#content h1 {
font-size: 2rem;
font-weight: bold;
margin-top: 1rem;
}
#content h2 {
font-size: 1.75rem;
}
#content h3 {
font-size: 1.5rem;
}
#content h4 {
font-size: 1.2rem;
}
#content p {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 0.5rem;
color: var(--color-content-text);
}
#content ul,
#content ol {
margin-left: 1.5rem;
padding-left: 1rem;
color: var(--color-content-text);
}
#content ul {
list-style-type: disc;
}
#content ol {
list-style-type: decimal;
}
#content li {
margin-bottom: 0.5rem;
font-size: 1rem;
line-height: 1.6;
}
#content ul ul,
#content ol ol,
#content ul ol,
#content ol ul {
margin-left: 1.5rem;
padding-left: 1rem;
}
#content pre {
padding: 0.5rem;
border: 2px solid var(--color-content-code-border);
background: var(--color-content-code-bg);
border-radius: 8px;
overflow-x: auto;
line-height: 1.5;
margin-bottom: 0.5rem;
}
#content pre code {
display: block;
background: var(--color-white);
color: var(--color-black);
white-space: pre-wrap;
}
#content code {
font-size: 13px;
background-color: var(--color-content-code-inline);
color: var(--color-black);
padding: 2px 6px;
border-radius: 4px;
white-space: nowrap;
}
#content blockquote {
border-left: 4px solid var(--color-content-blockquote);
padding: 0.75rem 1rem;
margin: 1rem 0;
background-color: var(--color-content-code-bg);
font-style: italic;
color: var(--color-content-muted);
}
#content a {
color: var(--color-content-link);
text-decoration: none;
transition: color 0.2s ease-in-out;
&:hover {
color: var(--color-content-link);
}
&.external-link::after {
content: ' 🔗';
font-size: 0.8em;
opacity: 0.7;
}
}
#content .youtube-video {
position: relative;
padding-bottom: 56.25%;
height: 0;
overflow: hidden;
max-width: 100%;
max-height: auto;
& iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
}