-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
141 lines (123 loc) · 2.72 KB
/
style.css
File metadata and controls
141 lines (123 loc) · 2.72 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
132
133
134
135
136
137
138
139
140
141
:root {
--bg-color: #ffffff;
--text-color: #000000;
--blockquote-border: #999;
--blockquote-text: #444;
--details-bg: #f9f9f9;
--details-border: #ccc;
}
body.dark-mode {
--bg-color: #111111;
--text-color: #dddddd;
--blockquote-border: #555;
--blockquote-text: #bbbbbb;
--details-bg: #1e1e1e;
--details-border: #444;
}
body {
font-family: Georgia, serif;
max-width: 800px;
margin: 0 auto;
padding: 2em;
line-height: 1.6;
background-color: var(--bg-color);
color: var(--text-color);
transition: background-color 0.3s ease, color 0.3s ease;
}
a.placeholder {
color: #0066cc;
text-decoration: none;
}
a.placeholder:hover {
text-decoration: underline;
}
blockquote {
border-left: 2px solid var(--blockquote-border);
padding-left: 1em;
margin: 0;
color: var(--blockquote-text);
font-style: italic;
background: none;
}
.custom-details summary {
cursor: pointer;
font-weight: normal;
display: inline-block;
padding: 5px 15px;
border: 2px dotted black;
border-radius: 20px;
text-align: center;
transition: color 0.3s ease-in-out;
}
.custom-details summary:hover {
color: lightgray;
}
.custom-details summary::-webkit-details-marker {
display: none;
}
details.custom-details {
margin-bottom: 1.5em;
border: 1px solid var(--details-border);
border-radius: 8px;
padding: 1em;
background: var(--details-bg);
}
#headerIcon {
position: fixed;
top: 16px;
left: 40px; /* bring closer to center */
height: 48px; /* was 36px */
width: 48px;
z-index: 1000;
}
#modeToggle {
position: fixed;
top: 16px;
right: 40px; /* match left */
padding: 8px 16px;
font-size: 15px;
border: none;
border-radius: 8px;
cursor: pointer;
background: #ccc;
color: #000;
z-index: 1000;
}
.responsive-iframe {
position: relative;
width: 100%;
height: 80vh; /* Change this if you want more or less vertical space */
overflow: hidden;
border-radius: 8px;
margin-top: 1rem;
margin-bottom: 1rem;
}
.responsive-iframe iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
border: 1px solid #ccc;
border-radius: 8px;
}
#headerIcon {
position: fixed;
top: 16px;
left: 40px;
height: 48px;
width: 48px;
z-index: 1000;
transition: filter 0.3s ease;
}
body.dark-mode #headerIcon {
filter: invert(1) brightness(1.2);
}
.custom-details a {
color: inherit;
text-decoration: underline dotted;
font-weight: bold;
}
.custom-details a:hover {
color: #2196F3;
}