diff options
Diffstat (limited to 'web/static/main.css')
| -rw-r--r-- | web/static/main.css | 164 |
1 files changed, 142 insertions, 22 deletions
diff --git a/web/static/main.css b/web/static/main.css index ba7524c..79f28f4 100644 --- a/web/static/main.css +++ b/web/static/main.css @@ -42,6 +42,7 @@ flex-direction: column; padding: 0; margin: 0; + font-weight: normal; } input[type="radio"] { appearance: none; @@ -95,8 +96,17 @@ input[type="radio"]:checked::before { code { font-family: Code; - font-size: 12px; + font-size: 13px; white-space: pre-wrap; + background: #212325; + padding: 5px 7px !important; + border-top: 1px solid #aaa; + border-left: 1px solid #888; + border-right: 1px solid #666; + border-bottom: 1px solid #000; + display: inline-block; + margin-top: 3px; + margin-bottom: 3px; } html, body { @@ -150,7 +160,7 @@ a:hover { background: var( --gradient ); background-clip: border-box; text-decoration: underline; - -webkit-text-fill-color: transparent; + -webkit-text-fill-color: unset; -webkit-background-clip: text; text-decoration: underline; } @@ -174,6 +184,10 @@ a.nogradient { } a.nogradient:hover { + background: var( --gradient ); + background-clip: border-box; + -webkit-text-fill-color: transparent; + -webkit-background-clip: text; text-decoration: underline; } @@ -233,6 +247,7 @@ body { border-top: 1px solid #fff; border-right: 1px solid #888; border-bottom: 1px solid #222; + position: relative; } @@ -242,6 +257,18 @@ body { .btn_close { background: #ccc; } +#ascii-art { + white-space: pre-wrap; + font-family: Code; + font-size: 12px; + overflow:clip; + padding-top: 5px; +} + +#ascii-art span { + padding: 0; + margin: 0; +} #sidebar { width: 230px; @@ -278,7 +305,6 @@ body { margin-left: 4px; } - .sidebar-row { display: flex; flex-direction: row; @@ -296,13 +322,46 @@ body { .page-title h3 { margin-top: 15px; margin-bottom: 6px; + font-size: 25px; +} + +h5 { + font-family: JPN16; + font-size: 17px; + font-weight: normal; + margin-top: 12px; +} + + +.package-entry-date, +.package-entry-time { + padding: 0 10px; +} + +#blog-entry { + display: flex; + justify-content: center; + padding-top: 8px; + width: 95%; + font-size: 17px; +} + +#blog-entry h4 { + margin-top: 4px; + margin-bottom: 4px; + font-family: JPN19; + font-size: 20px; +} + +#blog-entry ul { + padding-left: 20px; } @media( max-width: 1100px ) { #page-main-content { width: calc( 100% - 20px ) !important; min-width: unset !important; - margin-right: 20px !important; + margin-right: 20px; margin-left: 0 !important; }; @@ -319,6 +378,11 @@ body { height: 35px; } + + h5 { + margin-top: 9px; + } + #sidebar h3 { margin-top: 8px; margin-bottom: 8px; @@ -344,18 +408,24 @@ body { #package-entries table { font-family: JPN12 !important; - font-size: 11px !important; + font-size: 13px !important; text-align: right; } #ascii-art { - font-size: 7px !important; + font-size: 9px; + } + + #blog-entry { + width: 98%; + font-family: JPN12; + font-size: 13px; } } @media( max-width: 740px ) { #sidebar { - width: 200px !important; + width: 200px; } #sidebar h4 { @@ -364,6 +434,23 @@ body { margin-top: 0px; } + .page-title h3 { + font-size: 20px; + margin-top: 6px; + margin-bottom: 0px; + } + + h5 { + font-family: JPN16; + font-size: 10px; + font-weight: normal; + margin-top: 7px; + } + + .page-title { + height: 30px; + } + #sidebar h3 { font-size: 20px !important; } @@ -380,23 +467,60 @@ body { } #ascii-art { - font-size: 6px !important; + font-size: 6px; + } + + .package-entry-date, + .package-entry-time { + padding: 0; } } -#ascii-art { - white-space: pre-wrap; - font-family: Code; - font-size: 12px; - overflow:clip; - padding-top: 5px; + +@media( max-width: 460px ) { + #sidebar { + width: 170px !important; + margin-left: 5px; + margin-right: 5px; + } + + #page-main-content { + margin-right: 5px; + } + + #page-main { + padding-top: 10px; + } + + #ascii-art { + font-size: 4px; + } + + #sidebar h4 { + font-size: 8px !important; + margin-bottom: 0px; + margin-top: 0px; + } + + #sidebar h3 { + font-size: 17px !important; + } + + h5 { + font-family: JPN12; + font-size: 9px; + font-weight: normal; + margin-top: 4px; + } } -#ascii-art span { - padding: 0; - margin: 0; +@media( max-width: 350px ) { + #ascii-art { + font-size: 3px; + } } + .groupbox { border: 1px solid var( --front ); background-color: var( --back ); @@ -605,6 +729,7 @@ body { #package-entries table { text-align: right; + font-size: 17px; } #package-entries table tr td:first-child { @@ -617,8 +742,3 @@ body { justify-content: space-between; } - -.package-entry-date, -.package-entry-time { - padding: 0 10px; -} |
