diff options
| author | dabikers' admin <dabikers@protonmail.com> | 2024-04-24 01:35:04 -0500 |
|---|---|---|
| committer | dabikers' admin <dabikers@protonmail.com> | 2024-04-24 01:35:04 -0500 |
| commit | 051a5213b39720215fe35ce359c5ddd0251249dc (patch) | |
| tree | 4aa05f3dbfdd8b047f3c35326f3fe98c1d397c06 /css | |
| parent | 5d676c1011d4afdcb2dcb97c41513f37652d131e (diff) | |
Give the site a face lift
Diffstat (limited to 'css')
| -rw-r--r-- | css/acknowledgments.css | 11 | ||||
| -rw-r--r-- | css/base.css | 236 | ||||
| -rw-r--r-- | css/nopiracy.css | 15 | ||||
| -rw-r--r-- | css/services.css | 0 |
4 files changed, 175 insertions, 87 deletions
diff --git a/css/acknowledgments.css b/css/acknowledgments.css index fe73584..481155f 100644 --- a/css/acknowledgments.css +++ b/css/acknowledgments.css | |||
| @@ -15,3 +15,14 @@ | |||
| 15 | a:hover.italicize { | 15 | a:hover.italicize { |
| 16 | font-style: italic; | 16 | font-style: italic; |
| 17 | } | 17 | } |
| 18 | |||
| 19 | li { | ||
| 20 | list-style: "- "; | ||
| 21 | } | ||
| 22 | |||
| 23 | #content ul { | ||
| 24 | padding-top: 1vw; | ||
| 25 | padding-bottom: 1vw; | ||
| 26 | padding-left: 2vw; | ||
| 27 | padding-right: 2vw; | ||
| 28 | } \ No newline at end of file | ||
diff --git a/css/base.css b/css/base.css index 1ec9ff3..df8506e 100644 --- a/css/base.css +++ b/css/base.css | |||
| @@ -19,154 +19,216 @@ | |||
| 19 | /* */ | 19 | /* */ |
| 20 | 20 | ||
| 21 | :root { | 21 | :root { |
| 22 | --theight: fit-content; | 22 | --bgcolor: #232627; |
| 23 | --bheight: fit-content; /* min-content This feels hackey but it works & stops overflow */ | 23 | --fgcolor: rgb(255, 255, 255); |
| 24 | 24 | ||
| 25 | --cblack: #000000; | 25 | --tb_bgcolor: black; |
| 26 | --cwhite: #ffffff; | 26 | --tb_fgcolor: white; |
| 27 | --cgray: #232627; /* Nicer gray than previously */ | 27 | --tb_height: fit-content; |
| 28 | --tb_padding: 1vw; | ||
| 28 | 29 | ||
| 29 | /* Color palate for the site */ | 30 | --padding_sides: 3vw; |
| 30 | --cebony: #2e2920; | 31 | --padding_updown: 2vw; |
| 31 | --ctaupe: #e9e6e2; | 32 | |
| 32 | --corange: #f9c070; | 33 | --linkcolor: #f9c070; |
| 33 | --ctan: #8e4c30; | ||
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | * { | 36 | * { |
| 37 | padding: 0; | 37 | margin: 0; |
| 38 | margin: 0; | 38 | padding: 0; |
| 39 | } | 39 | } |
| 40 | 40 | ||
| 41 | body { | 41 | body { |
| 42 | background-color: var(--cgray); | 42 | background-color: var(--bgcolor); |
| 43 | color: var(--ctaupe); | 43 | color: var(--fgcolor); |
| 44 | font-family: Verdana, Geneva, Tahoma, sans-serif; | 44 | |
| 45 | font-family: Verdana, Geneva, Tahoma, sans-serif; | ||
| 45 | } | 46 | } |
| 46 | 47 | ||
| 47 | li { | 48 | li { |
| 48 | list-style-type: '- '; | 49 | list-style: ""; |
| 49 | } | 50 | } |
| 50 | 51 | ||
| 51 | ul { | ||
| 52 | padding-top: 1vw; | ||
| 53 | padding-bottom: 1vw; | ||
| 54 | padding-left: 2vw; | ||
| 55 | padding-right: 2vw; | ||
| 56 | } /* Looks good for the links */ | ||
| 57 | |||
| 58 | a { | 52 | a { |
| 59 | color: var(--corange); | 53 | color: var(--linkcolor); |
| 60 | } | 54 | } |
| 61 | 55 | ||
| 62 | .vertcontain { | 56 | .vertcontain { |
| 63 | display: flex; | 57 | display: flex; |
| 64 | flex-flow: column nowrap; | 58 | flex-flow: column nowrap; |
| 65 | |||
| 66 | justify-content: space-around; | 59 | justify-content: space-around; |
| 67 | align-content: center; | 60 | align-content: center; |
| 68 | } | 61 | } |
| 69 | 62 | ||
| 70 | #content { | 63 | .side-by-side { |
| 71 | padding: 1vw; | 64 | display: flex; |
| 72 | margin: 1vw; | 65 | flex-flow: row nowrap; |
| 73 | margin-bottom: 5vw; /* Not knowing about this was fucking annoying */ | 66 | justify-content: space-between; |
| 67 | align-items: center; | ||
| 68 | } | ||
| 74 | 69 | ||
| 75 | overflow: auto; | 70 | .centered { |
| 76 | overflow-wrap: break-word; | 71 | flex-flow: column nowrap; |
| 72 | justify-content: center; | ||
| 73 | align-items: center; | ||
| 77 | } | 74 | } |
| 78 | 75 | ||
| 79 | #top-bar { | 76 | .blockedout { |
| 80 | padding: 0.5vw; | 77 | display: inline-block; |
| 78 | width: 100%; | ||
| 79 | } | ||
| 81 | 80 | ||
| 82 | /* Floats h1 and ul/li side by side */ | 81 | .indented { |
| 83 | display: flex; | 82 | text-indent: 4ch each-line; |
| 84 | flex-flow: row nowrap; | 83 | } |
| 85 | justify-content: space-between; | ||
| 86 | align-items: center; | ||
| 87 | align-content: center; | ||
| 88 | 84 | ||
| 89 | height: var(--theight); | 85 | a.bracketed::before { |
| 86 | content: "["; | ||
| 87 | } | ||
| 88 | a.bracketed::after { | ||
| 89 | content: "]"; | ||
| 90 | } | ||
| 91 | |||
| 92 | a.nodec { | ||
| 93 | text-decoration: none; | ||
| 94 | } | ||
| 95 | |||
| 96 | a.nocolor { | ||
| 97 | color:inherit; | ||
| 98 | } | ||
| 99 | |||
| 100 | #top-bar { | ||
| 101 | display:flex; | ||
| 102 | justify-content: center; | ||
| 103 | align-items: center; | ||
| 104 | |||
| 105 | background-color: var(--tb_bgcolor); | ||
| 106 | color: var(--tb_fgcolor); | ||
| 90 | 107 | ||
| 91 | background-color: var(--cblack); | 108 | padding: var(--tb_padding); |
| 92 | color: var(--cwhite); | 109 | height: var(--tb_height); |
| 93 | 110 | ||
| 94 | position: -webkit-sticky; | 111 | position: -webkit-sticky; |
| 95 | position: sticky; | 112 | position: sticky; |
| 96 | top: 0; | 113 | top: 0; |
| 97 | 114 | ||
| 98 | font-family: 'zai_courier_polski_1941Rg', 'Courier New', Courier, monospace; | 115 | font-family: 'zai_courier_polski_1941Rg'; |
| 99 | } | 116 | } |
| 100 | 117 | ||
| 101 | #top-bar h1 { | 118 | #top-bar h1 { |
| 102 | text-align: left; | 119 | font-family: inherit; |
| 103 | font-size: 5vw; | 120 | font-size: max(5vw, 5ch); |
| 104 | } | 121 | } |
| 105 | 122 | ||
| 106 | #top-bar a { | 123 | #top-bar a { |
| 107 | color: inherit; | 124 | color: inherit; |
| 108 | text-decoration: none; | 125 | text-decoration: none; |
| 109 | } | 126 | } |
| 110 | 127 | ||
| 111 | #top-bar li { | 128 | input { |
| 112 | list-style: none; | 129 | display: none; |
| 113 | display: inline; | ||
| 114 | float: none; | ||
| 115 | } | 130 | } |
| 116 | #top-bar li a::before { | 131 | |
| 117 | content: "["; | 132 | label { |
| 133 | cursor: pointer; | ||
| 134 | font-weight: bold; | ||
| 135 | font-family: 'zai_courier_polski_1941Rg'; | ||
| 136 | font-size: max(2.5vw, 3ch); | ||
| 118 | } | 137 | } |
| 119 | #top-bar li a::after { | 138 | |
| 120 | content: "]"; | 139 | .dropdown { |
| 140 | position: relative; | ||
| 141 | display: inline-block; | ||
| 142 | width: fit-content; | ||
| 121 | } | 143 | } |
| 122 | 144 | ||
| 123 | #bottom-bar { | 145 | .drophold { |
| 124 | padding: 0.5vw; | 146 | background-color: inherit; |
| 125 | height: var(--bheight); | 147 | color: inherit; |
| 126 | width: 100%; | 148 | |
| 149 | border: none; | ||
| 150 | } | ||
| 127 | 151 | ||
| 128 | position: fixed; | 152 | .dropdown-content { |
| 129 | bottom: 0; | 153 | display: none; |
| 154 | position: absolute; | ||
| 155 | z-index: 1; | ||
| 130 | 156 | ||
| 131 | background-color: var(--cblack); | 157 | width: 100%; |
| 132 | color: var(--cwhite); | 158 | overflow: auto; |
| 133 | 159 | ||
| 134 | list-style-type: none; | 160 | background-color: var(--tb_bgcolor); |
| 161 | color: var(--tb_fgcolor); | ||
| 162 | } | ||
| 135 | 163 | ||
| 136 | font-family: 'zai_courier_polski_1941Rg', 'Courier New', Courier, monospace; | 164 | .drophold:checked~.dropdown-content { |
| 137 | text-align: center; | 165 | display: block; |
| 166 | } | ||
| 138 | 167 | ||
| 139 | /* overflow: auto; Idk why this is "overflowing" but this should be a good enough fix fow now */ | 168 | .dropdown-content a:hover { |
| 140 | overflow: auto; | 169 | font-style: italic; |
| 141 | } | 170 | } |
| 142 | 171 | ||
| 143 | #bottom-flex { | 172 | .dropdown-content a::before { |
| 144 | display: flex; | 173 | content: "["; |
| 145 | justify-content: center; | ||
| 146 | align-items: center; | ||
| 147 | } | 174 | } |
| 148 | 175 | ||
| 149 | #bottom-bar a { | 176 | .dropdown-content a::after { |
| 150 | color: inherit; | 177 | content: "]"; |
| 151 | text-decoration: none; | ||
| 152 | font-weight: bold; | ||
| 153 | } | 178 | } |
| 154 | 179 | ||
| 155 | /* Surround links with square brackets in the footer */ | 180 | .dropdown-content li { |
| 156 | #bottom-bar a::before { | 181 | text-align: center; |
| 157 | content: "["; | 182 | } |
| 183 | |||
| 184 | .spacer { | ||
| 185 | width: 50%; | ||
| 186 | height: 50%; | ||
| 158 | } | 187 | } |
| 159 | #bottom-bar a::after { | 188 | |
| 160 | content: "]"; | 189 | #ddnav { |
| 190 | width: 35%; | ||
| 191 | text-align: center; | ||
| 192 | |||
| 193 | font-family: inherit; | ||
| 161 | } | 194 | } |
| 162 | 195 | ||
| 163 | #bottom-bar ul { | 196 | #content { |
| 164 | padding: 0; | 197 | padding-left: var(--padding_sides); |
| 198 | padding-right: var(--padding_sides); | ||
| 199 | |||
| 200 | padding-top: var(--padding_updown); | ||
| 201 | padding-bottom: var(--padding_updown); | ||
| 202 | |||
| 203 | margin-bottom: 5vw; /* I should find a better way than just setting a static number */ | ||
| 204 | } | ||
| 205 | |||
| 206 | #bottom-bar { | ||
| 207 | padding: 0.75ch; | ||
| 208 | height: fit-content; | ||
| 209 | width: 100%; | ||
| 210 | |||
| 211 | position: fixed; | ||
| 212 | bottom: 0; | ||
| 213 | |||
| 214 | color: var(--tb_fgcolor); | ||
| 215 | background-color: var(--tb_bgcolor); | ||
| 216 | |||
| 217 | font-family: 'zai_courier_polski_1941Rg', 'Courier New', Courier, monospace; | ||
| 218 | text-align: center; | ||
| 219 | } | ||
| 220 | |||
| 221 | #bottom-bar a { | ||
| 222 | color: inherit; | ||
| 223 | text-decoration: none; | ||
| 224 | } | ||
| 225 | |||
| 226 | #bottom-bar a::before { | ||
| 227 | content: "[" | ||
| 165 | } | 228 | } |
| 166 | 229 | ||
| 167 | #bottom-bar li { | 230 | #bottom-bar a:after { |
| 168 | display: inline; | 231 | content: "]" |
| 169 | float: none; | ||
| 170 | } | 232 | } |
| 171 | 233 | ||
| 172 | #copyrightnotice { | 234 | #copyrightnotice { |
diff --git a/css/nopiracy.css b/css/nopiracy.css index ed05a56..f521b53 100644 --- a/css/nopiracy.css +++ b/css/nopiracy.css | |||
| @@ -26,4 +26,19 @@ a.bad { | |||
| 26 | 26 | ||
| 27 | blockquote { | 27 | blockquote { |
| 28 | padding: 1vw; | 28 | padding: 1vw; |
| 29 | } | ||
| 30 | |||
| 31 | li { | ||
| 32 | list-style: "- "; | ||
| 33 | } | ||
| 34 | |||
| 35 | #content ul { | ||
| 36 | padding-top: 1vw; | ||
| 37 | padding-bottom: 1vw; | ||
| 38 | padding-left: 2vw; | ||
| 39 | padding-right: 2vw; | ||
| 40 | } | ||
| 41 | |||
| 42 | p { | ||
| 43 | text-indent: 4ch each-line; | ||
| 29 | } \ No newline at end of file | 44 | } \ No newline at end of file |
diff --git a/css/services.css b/css/services.css deleted file mode 100644 index e69de29..0000000 --- a/css/services.css +++ /dev/null | |||
