Changeset 1d577b1 for public/css
- Timestamp:
- Aug 29, 2022, 12:53:28 AM (2 years ago)
- Branches:
- master
- Children:
- 29d69bd
- Parents:
- 7123feb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
public/css/custom.css
r7123feb r1d577b1 1 1 :root { 2 --fore-color: #111;3 --secondary-fore-color: #444;4 --back-color: #f8f8f8;5 --secondary-back-color: #f0f0f0;6 --blockquote-color: #f57c00;7 --pre-color: #1565c0;8 --border-color: #aaa;9 --secondary-border-color: #ddd;10 --heading-ratio: 1.125;11 2 --universal-margin: 0.5rem; 12 3 --universal-padding: 0.5rem; … … 31 22 article, 32 23 #footnotes { 33 max-width: calc(60ch + 4em);24 max-width: calc(60ch); 34 25 margin: var(--universal-padding); 35 padding: var(--universal-padding)calc(var(--universal-padding) * 2);26 padding: calc(var(--universal-padding) * 2); 36 27 background: #fefefe; 37 28 box-shadow: 0 1px 0px rgba(0,0,0,.1); … … 62 53 } 63 54 64 .navbar .button{55 .navbar a { 65 56 text-transform: none; 66 57 background: #fefefe; … … 76 67 .navbar .button:hover { 77 68 background: #ddd; 78 }79 80 /* 16:9 */81 .video {82 padding-top: 56.25%;83 position: relative;84 width: calc(100% - 1em);85 }86 87 iframe {88 width: 100%;89 min-height: 445px;90 top: 0;91 left: 0;92 bottom: 0;93 right: 0;94 }95 96 .cover {97 margin: 0.5em 0;98 border: 1px solid rgba(0,0,0,.3);99 border-radius: 0.1em;100 69 } 101 70 … … 115 84 #postamble { 116 85 margin: var(--universal-margin); 117 max-width: calc(6 0ch + 6em);86 max-width: calc(63ch); 118 87 display: flex; 119 88 flex-direction: row; … … 150 119 display: block; 151 120 z-index: 1050; 152 font-size: 12pt;153 121 position: fixed; 154 left: 7 5ch;122 left: 70ch; 155 123 top: calc(var(--universal-margin) + 2.6rem); 156 124 background: #fefefe; 157 line-height: 12pt; 158 box-shadow: 0 2px 2px rgba(0,0,0,.35); 125 box-shadow: 0 1px 0px rgba(0,0,0,.1); 126 border-radius: var(--universal-border-radius); 127 border: 1px solid #cfcfcf; 159 128 max-height: calc(100% - 2 * (var(--universal-margin) + 0.5em) - 9em); 160 129 overflow: auto; 161 max-width: 30ch; 162 border-radius: var(--universal-border-radius); 163 border: 1px solid #cfcfcf; 130 max-width: 35ch; 164 131 } 165 132 … … 169 136 170 137 #table-of-contents h2 { 171 font-size: 1 3pt;138 font-size: 12pt; 172 139 margin: var(--universal-margin); 173 140 margin-top: calc(2 * var(--universal-margin)); … … 176 143 } 177 144 178 #text-table-of-contents ul {179 margin: 0 0 0 1em;180 }181 182 #text-table-of-contents > ul {183 margin: 0 1em 0 2em;184 }185 186 145 #text-table-of-contents ul li { 187 146 font-size: 11pt; 188 147 width: 100%; 189 }190 191 #table-of-contents #text-table-of-contents {192 display: block;193 text-align: left;194 max-width: 35ch;195 }196 197 #table-of-contents li {198 clear:both199 148 } 200 149 … … 266 215 } 267 216 268 /* Style for WEBRING */269 .org-webring {270 position: relative;271 }272 273 .org-webring .org-webring-articles {274 display: flex;275 flex-flow: column;276 margin: 0 0.25em;277 }278 .org-webring .org-webring-article-title {279 font-size: 1em;280 padding: 0;281 margin: 0 0.75em 0 0.75em;282 border-radius: 0.25em;283 max-height: 40ch;284 }285 .org-webring .org-webring-article {286 position: relative;287 flex-basis: 45%;288 display: flex;289 flex-direction: column;290 margin: 0 0.5em;291 transition: 0.3s;292 opacity: 1;293 overflow: hidden;294 /* border-radius: 3px; */295 /* border-left: 3px solid rgba(0,0,0,.4); */296 }297 298 .org-webring .org-webring-article:before {299 content: "•";300 position: absolute;301 left: 0;302 top: 0;303 margin-left: -0.125em;304 font-size: 1.1em;305 }306 307 .org-webring .org-webring-article:hover {308 opacity: 1;309 }310 311 .org-webring .org-webring-article-pinned {312 position: relative;313 flex: 1 1 auto;314 flex-basis: 100%;315 display: flex;316 flex-direction: column;317 margin: 0 0.5rem;318 padding: 0.5rem;319 border: 0.15rem black solid;320 border-color: black;321 transition: 0.3s;322 opacity: 1;323 }324 .org-webring .org-webring-article-pinned:hover {325 opacity: 1;326 background-color: #fefefe;327 }328 .org-webring .org-webring-article-pinned-symbol{329 position: absolute;330 top: 0.2rem;331 right: 0.5rem;332 }333 .org-webring .org-webring-article-summary {334 font-size: 0.8rem;335 flex: 1 1 0;336 display: none;337 }338 .org-webring .org-webring-attribution {339 text-align: right;340 font-size: 0.8rem;341 padding-right: 0.5em;342 color: #666;343 display: none;344 }345 .org-webring .org-webring-article-date {346 text-align: center;347 display: none;348 }349 .org-webring .org-webring-article-source {350 text-align: center;351 display: none;352 }353 .org-webring .org-webring-timestamp {354 color: #666;355 display: none;356 }357 @media screen and (max-width: 600px) {358 .org-webring .org-webring-articles {359 display: flex;360 flex-direction: column;361 }362 }363 @media screen and (max-width: 600px) {364 .org-webring .org-webring-article {365 flex: 1 1 auto;366 flex-basis: 100%;367 display: flex;368 flex-direction: column;369 margin: 0 0.5rem;370 margin-bottom: 0.5rem;371 }372 .org-webring .org-webring-article-pinned {373 position: relative;374 flex: 1 1 auto;375 flex-basis: 100%;376 display: flex;377 flex-direction: column;378 margin: 0 0.5rem;379 margin-bottom: 0.5rem;380 border: 0.15rem black solid;381 border-color: black;382 transition: 0.3s;383 opacity: 1;384 }385 }386 387 .org-webring > h4 {388 display: none;389 }390 391 217 video { 392 218 max-width: 100%; … … 406 232 } 407 233 408 ul ul {409 margin: 0;410 }411 412 234 table tr td:nth-child(1) { 413 235 width: 20%;
Note:
See TracChangeset
for help on using the changeset viewer.