Skip to content

Commit db478f9

Browse files
authored
Add files via upload
1 parent fbaefe5 commit db478f9

File tree

6 files changed

+421
-312
lines changed

6 files changed

+421
-312
lines changed

c.css

Lines changed: 44 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,36 @@ body:has(#hide_comments:checked) .hljs-comment{
6363
}
6464
#hide_comments_label {
6565
border: var(--border);
66+
border-radius: var(--rad);
67+
overflow: hidden;
68+
line-height: var(--line_height);
6669
padding: 0 var(--rad);
6770
}
71+
#hide_comments_label::after{
72+
content: 'N';
73+
line-height: var(--line_height);
74+
border-left: var(--border);
75+
padding: 0 var(--rad);
76+
margin-left:var(--rad);
77+
}
6878
body:has(#hide_comments:checked) #hide_comments_label::after{
6979
content: "Y";
7080
}
71-
#hide_comments_label::after{
72-
content: 'N';
73-
border-left: var(--border);
74-
padding: 0 var(--rad);
75-
margin-left:var(--rad);
81+
#please_enable_js, #please_enable_js * {
82+
color: var(--bg);
83+
}
84+
#please_enable_js {
85+
position: fixed;
86+
background-color: var(--fg);
87+
padding: 2ch;
88+
top: 25%;
89+
width: 100vw;
90+
left: 0%;
91+
z-index: 999;
92+
height: auto;
93+
max-width: 100vw;
94+
text-align: center;
95+
font-size: 16px;
7696
}
7797
*{
7898
outline:none;
@@ -86,7 +106,9 @@ margin-left:var(--rad);
86106
border: 0;
87107
background-color: transparent;
88108
}
89-
109+
a, a *{
110+
color: var(--fg);
111+
}
90112
.column{
91113
width: 68ch;/*64 + 2ch inner left right*/
92114
max-width: 100dvw;
@@ -97,12 +119,15 @@ margin-left:var(--rad);
97119
#show_example_use{
98120
width: 100%;
99121
white-space: pre-wrap;
122+
/*background-color: hsl(0, 0%, 96%);*/
100123
}
101124
.hljs-comment {
102125
/*font-family: var(--sans);*/
103126
color: var(--fg);
127+
font-style: italic;
128+
color: #444;
104129
}
105-
.hljs-title, .hljs-property, .function_{
130+
.hljs-title, .function_{
106131
font-weight: bold;
107132
}
108133
/*
@@ -115,10 +140,8 @@ main {
115140
overflow-y:auto;
116141
display: flex;
117142
margin: 0 auto;
118-
119143
width: 100dvw;
120144
flex-direction: column;
121-
122145
overflow-y: auto;
123146
}
124147
body{
@@ -131,15 +154,13 @@ body{
131154
flex-direction: column;
132155
}
133156
@media (prefers-color-scheme: light) {
134-
pre .hljs {
135-
filter: invert(1);
136-
}
157+
#show_example_use {
158+
xfilter: invert(1);
159+
}
137160
}
138161
a,a:visited{
139162
color: var(--fg);
140163
}
141-
142-
143164
[popover]{
144165
/*default*/
145166
position: fixed;
@@ -163,7 +184,6 @@ color: var(--fg);
163184
pre{
164185
white-space: pre-wrap;
165186
}
166-
167187
}
168188
button {
169189
border-radius: var(--rad);
@@ -179,4 +199,13 @@ pre button {
179199
code.hljs {
180200
max-width: 100%;
181201
padding: 2ch;
202+
}
203+
.round_button{
204+
background-color: var(--fg);
205+
color: var(--bg);
206+
border-radius: 20px;
207+
width: auto;
208+
user-select: none;
209+
display: inline-block;
210+
padding: 0 var(--rad);
182211
}

0 commit comments

Comments
 (0)