-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathstyle.css
More file actions
110 lines (95 loc) · 1.9 KB
/
style.css
File metadata and controls
110 lines (95 loc) · 1.9 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
:root {
--ctp-bg: #eff1f5; /* Base background */
--ctp-surface: #e6e9ef; /* Slightly darker surface */
--ctp-text: #4c4f69; /* Main text color */
--ctp-highlight: #179299; /* Pinkish accent (rosewater) */
--ctp-muted: #6c6f85; /* Muted/subtle text */
--ctp-line: #5c5f77; /* Border/line color */
}
/* General body and text styling */
body {
background-color: var(--ctp-bg);
color: var(--ctp-text);
font-family: Adwaita Sans;
line-height: 1.6;
padding: 1em;
margin: 0;
}
/* Headings */
h1, h2, h3, h4, h5, h6 {
color: var(--ctp-highlight);
margin-top: 1.5em;
margin-bottom: 0.5em;
font-weight: 600;
line-height: 1.2;
}
/* Paragraphs */
p {
margin-top: 0;
margin-bottom: 1em;
}
/* Links */
a {
color: var(--ctp-highlight);
text-decoration: none;
}
a:hover, a:focus {
text-decoration: underline;
}
/* Blockquotes */
blockquote {
border-left: 4px solid var(--ctp-highlight);
color: var(--ctp-muted);
margin-left: 0;
margin-right: 0;
padding-left: 1em;
font-style: italic;
background-color: var(--ctp-surface);
border-radius: 4px;
}
/* Code blocks and inline code */
pre, code {
font-family: 'Fira Mono', Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono',
monospace;
background-color: var(--ctp-surface);
color: var(--ctp-text);
border-radius: 4px;
}
pre {
padding: 1em;
overflow-x: auto;
}
code {
padding: 0.2em 0.4em;
font-size: 0.9em;
}
/* Lists */
ul, ol {
margin: 1em 0 1em 1.5em;
}
/* Tables */
table {
width: 100%;
border-collapse: collapse;
margin-bottom: 1em;
}
th, td {
border: 1px solid var(--ctp-line);
padding: 0.5em 1em;
text-align: left;
}
th {
background-color: var(--ctp-surface);
color: var(--ctp-highlight);
}
/* Horizontal rule */
hr {
border: none;
border-top: 1px solid var(--ctp-line);
margin: 2em 0;
}
@page {
size: A4;
margin: 10mm;
background-color: var(--ctp-bg);
}