Changeset 8ff16b8 for public/css
- Timestamp:
- Jul 16, 2022, 12:59:34 PM (3 years ago)
- Branches:
- master
- Children:
- 05217bb
- Parents:
- 5f1c100
- git-author:
- Mikhail Kirillov <w96k@…> (07/16/22 12:57:37)
- git-committer:
- Mikhail Kirillov <w96k@…> (07/16/22 12:59:34)
- Location:
- public/css
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
public/css/custom.css
r5f1c100 r8ff16b8 1 1 body { 2 padding: 1em; 2 padding: 0 1em 1em 1em; 3 background: #f0f0f0; 3 4 } 4 5 … … 10 11 padding: 1em; 11 12 background: #fefefe; 12 box-shadow: 0 1px 3px rgba(0,0,0,.1);13 box-shadow: 0 2px 2px rgba(0,0,0,.35); 13 14 position: relative; 14 15 border-radius: var(--universal-border-radius); 16 border: 1px solid #f0f0f0; 15 17 } 16 18 … … 32 34 .navbar { 33 35 border: 0; 36 padding: 0 calc(var(--universal-padding) * 2.5); 37 position: relative; 38 top: 1em; 39 z-index: 999; 34 40 } 35 41 36 42 .navbar .button { 43 text-transform: none; 37 44 background: #fefefe; 38 text-transform: none; 45 box-shadow: 0 -3px 0 rgba(0,0,0,.35), 1px -1px 1px rgba(0,0,0,.15); 46 border-radius: 0.15em 0.15em 0 0; 47 text-decoration: underline; 48 color: var(--a-link-color); 49 padding: 4px 12px; 50 margin: 6px; 39 51 } 40 52 … … 76 88 #postamble { 77 89 margin: var(--universal-margin); 78 max-width: calc(60ch + 6em);90 max-width: calc(60ch + 7.75em); 79 91 } 80 92 … … 114 126 background: #fefefe; 115 127 line-height: 12pt; 116 box-shadow: 0 1px 3px rgba(0,0,0,.1);128 box-shadow: 0 2px 2px rgba(0,0,0,.35); 117 129 border: none; 118 130 max-height: calc(100% - 2 * (var(--universal-margin) + 0.5em) - 9em); … … 234 246 } 235 247 .org-webring .org-webring-article-title { 236 font-size: 0.8rem; 237 font-weight: bold; 248 font-size: 0.1em !important; 249 padding: 0; 250 margin: 0 5em 0 9em; 251 border-radius: 0.25em; 252 max-height: 40ch; 238 253 } 239 254 .org-webring .org-webring-article { 240 background: #f6f6f6;241 255 flex: 1 1 auto; 242 256 flex-basis: 40%; … … 244 258 flex-direction: column; 245 259 margin: 0.5em; 246 padding: 0.15em 0.3em;247 border: 0.1rem solid rgba(0,0,0,.25);248 260 transition: 0.3s; 249 261 opacity: 1; 262 overflow: hidden; 263 border-left: 3px solid rgba(0,0,0,.35); 250 264 } 251 265 .org-webring .org-webring-article:hover { 252 266 opacity: 1; 253 background-color: #ebebeb;254 267 } 255 268 … … 279 292 font-size: 0.8rem; 280 293 flex: 1 1 0; 294 display: none; 281 295 } 282 296 .org-webring .org-webring-attribution { … … 285 299 padding-right: 0.5em; 286 300 color: #666; 301 display: none; 287 302 } 288 303 .org-webring .org-webring-article-date { 289 304 text-align: center; 305 display: none; 290 306 } 291 307 .org-webring .org-webring-article-source { 292 308 text-align: center; 309 display: none; 293 310 } 294 311 .org-webring .org-webring-timestamp { 295 312 color: #666; 313 display: none; 296 314 } 297 315 @media screen and (max-width: 600px) { … … 309 327 margin: 0 0.5rem; 310 328 margin-bottom: 0.5rem; 311 padding: 0.5rem;312 329 } 313 330 .org-webring .org-webring-article-pinned { … … 319 336 margin: 0 0.5rem; 320 337 margin-bottom: 0.5rem; 321 padding: 0.5rem;322 338 border: 0.15rem black solid; 323 339 border-color: black; … … 347 363 margin: 0 var(--universal-padding); 348 364 } 365 366 ul ul { 367 margin: 0; 368 } 369 370 table tr td:nth-child(1) { 371 width: 20%; 372 } -
public/css/mini.css
r5f1c100 r8ff16b8 22 22 --universal-margin: 0.5rem; 23 23 --universal-padding: 0.5rem; 24 --universal-border-radius: 0. 2rem;24 --universal-border-radius: 0.3rem; 25 25 --a-link-color: #0277bd; 26 26 --a-visited-color: #01579b; … … 221 221 222 222 a { 223 text-decoration: none;224 }225 226 article a:hover {227 223 text-decoration: underline; 228 text-underline-offset: 0.2em; 229 text-decoration-thickness: 2px; 224 } 225 226 a:hover { 227 text-decoration: underline; 228 background: rgba(0,0,0,.1); 230 229 } 231 230 … … 1086 1085 padding: var(--universal-padding) calc(2 * var(--universal-padding)); 1087 1086 font-weight: 900; 1088 box-shadow: 0 2px 3px rgba(0,0,0,.1);1087 box-shadow: 0 1px 2px rgba(0,0,0,.35); 1089 1088 } 1090 1089 … … 1094 1093 margin-right: 0.25em; 1095 1094 border-radius: var(--universal-border-radius); 1096 box-shadow: 0 2px 3px rgba(0,0,0,.1);1095 box-shadow: 0 1px 2px rgba(0,0,0,.35); 1097 1096 } 1098 1097 … … 1124 1123 1125 1124 nav a:hover, nav a:focus, nav a:visited:hover, nav a:visited:focus { 1126 text-decoration: none;1127 1125 background: var(--nav-hover-back-color); 1128 1126 }
Note:
See TracChangeset
for help on using the changeset viewer.