File size: 4,220 Bytes
f171dae b95baad f171dae b95baad f171dae b95baad f171dae b95baad f171dae c2710fb 440ee82 1c542c9 f635d7e 1c542c9 f171dae 89685e9 1c542c9 f171dae c2710fb 440ee82 c2710fb 440ee82 c2710fb 440ee82 c2710fb 440ee82 c2710fb f635d7e c2710fb f635d7e c2710fb a47914c c2710fb 440ee82 c2710fb 440ee82 c2710fb b243d3f c2710fb 440ee82 c2710fb 440ee82 c2710fb 440ee82 c2710fb 440ee82 b243d3f c2710fb b243d3f 440ee82 c2710fb a2a19fd c2710fb a2a19fd c2710fb a2a19fd c2710fb 505e700 c2710fb 505e700 c2710fb |
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 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 |
@font-face {
font-family: 'opendyslexic';
src: url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic/otf/OpenDyslexic-Regular.otf');
font-style: normal;
font-weight: normal;
}
@font-face {
font-family: 'opendyslexic';
src: url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic/otf/OpenDyslexic-Italic.otf');
font-style: italic;
font-weight: normal;
}
@font-face {
font-family: 'opendyslexic';
src: url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic/otf/OpenDyslexic-Bold.otf');
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: 'opendyslexic';
src: url('https://cdn.jsdelivr.net/gh/antijingoist/open-dyslexic/otf/OpenDyslexic-BoldItalic.otf');
font-weight: bold;
font-style: italic;
}
article {
display: grid;
grid-template-columns: 1fr 1fr minmax(10px, calc(100% - 40px)) minmax(300px, 70%) minmax(10px, calc(100% - 40px)) 1fr 1fr;
}
article.default p {
font-family: Calibri, sans-serif;
}
article.dyslexic {
font-family: opendyslexic !important;
}
article.dyslexic p {
font-family: opendyslexic !important;
}
article > * {
grid-column: 4;
}
section > figure {
grid-column: 1 / -1;
margin: 2.5%;
}
article > .aside {
grid-column: 5 / -1;
padding: 0 2.5%;
}
section > blockquote {
grid-column: 3 / span 2;
margin: 0;
color: #666;
border-left: 0.2em solid black;
padding-left: 2%;
}
html, body {
margin: 0;
padding: 0;
font-size: 16px;
line-height: 1.4;
}
article > * {
min-width: 0;
}
section > h1 {
font-size: 2em; /* ~21px */
}
section.default > p {
--x-height-multiplier: 0.375;
--baseline-multiplier: 0.17;
letter-spacing: .01em;
font-weight: 400;
font-style: normal;
font-size: 1.3125em; /* ~21px */
line-height: 1.58;
letter-spacing: -.003em;
color: rgba(0, 0, 0, .84);
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
nav.default > p {
--x-height-multiplier: 0.375;
--baseline-multiplier: 0.17;
letter-spacing: .01em;
font-weight: 400;
font-style: normal;
font-size: 0.9375em; /* ~15px */
line-height: 1.58;
letter-spacing: -.003em;
color: rgba(0, 0, 0, .84);
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
section > .aside {
margin: 3% 2.5%;
color: #666;
font-size: 0.8em;
}
a {
color: inherit;
text-decoration: none;
}
img {
max-width: 100%;
height: auto;
}
.line-numbers a {
text-decoration: none;
color: #000;
padding-right: 1em;
}
code {
background: #eee;
padding: 0.125em 0.3125em; /* 2px 5px */
}
pre {
background: #eee;
padding: 0.625em 0.9375em; /* 10px 15px */
overflow: auto;
}
pre > code {
padding: 0;
}
figure {
margin: 0;
}
figure figcaption {
color: #666;
font-style: italic;
font-size: 0.8em;
}
article > .sticky-content {
top: 2.5%;
left: 2.5%;
position: fixed;
max-width: 20%; /* Adjust as needed */
z-index: 100;
}
.sticky-content p {
font-size: 0.625em; /* ~10px */
}
.sticky-content a {
display: block;
}
/* Media Queries */
@media screen and (max-width: 960px) {
article {
grid-template-columns: 5% 1fr 1fr 5%;
}
article > * {
grid-column: 2 / -2;
}
article > .aside {
grid-column: 2 / -2;
}
section > blockquote {
grid-column: 1 / -1;
}
}
@media screen and (max-width: 480px) {
section > p {
font-size: 1.125rem; /* ~18px */
}
nav > p {
font-size: 0.875rem; /* ~14px */
}
}
.dialog {
display: none;
position: fixed;
background-color: white;
border: 1px solid #ccc;
padding: 10px;
z-index: 1000;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
overflow-y: auto;
}
.close-button {
display: inline-block;
margin-top: 10px;
padding: 5px 10px;
background-color: #007BFF;
color: white;
border: none;
cursor: pointer;
}
.text-area {
cursor: pointer;
color: #007BFF;
}
.sticky-content a {
color: inherit !important;
text-decoration: none !important;
} |