ffx.css
· 4.4 KiB · CSS
Raw
/* by mez, https://tre.praze.net */
@charset "utf-8"
@import url(https://fonts.bunny.net/css?family=inconsolata:400);
@font-face {
font-family: "TB UD Gothic";
src: url("/fonts/ffx.ttf");
display: swap;
}
body {
font-family: "TB UD Gothic", sans-serif;
font-weight: bold;
font-size: 0.8em;
text-align: center;
background-image: url("");
background-size: auto;
background-repeat: no-repeat;
background-attachment: fixed;
color: #cfcecc;
line-height: 1.5rem;
letter-spacing: 0.5px;
margin: 8px;
}
body * {
margin: 0;
font-size: 1em;
font-style: normal;
list-style-type: none;
text-decoration: none;
}
div:not(.e-content):not(.subtitle):not(.invisible), .choices {
width: fit-content;
background: rgba(54,45,88,1);
background: linear-gradient(0deg, rgba(54,45,88,1) 0%, rgba(70,59,127,1) 100%);
border-width: 3px;
border-style: double;
border-color: #6a619a;
padding: 12px 30px;
margin: 20px auto;
}
div.invisible {
padding: 12px 30px;
margin: 20px auto;
display: flex;
gap: 10px;
flex-direction: row;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
}
div:not(.e-content), .choices, .battle {
text-align: left;
}
div:not(.e-content) {
max-width: 340px;
}
div.dialog {
text-align: center;
}
div.fullwidth, div.invisible {
max-width: 900px;
}
div#table-wrapper {
max-width: 100%;
}
div:not(.e-content) *, .choices * {
text-shadow: 0px 0px 0 #000, 1px 0px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000;
}
p.title {
text-align: center;
}
h1, h2, em, a, .crit .name, .crit .hp-value, .yellow {
color: #eeb206;
}
h1, h2 {
text-align: center;
}
.fullwidth h1, .fullwidth h2 {
text-align: left;
}
li, .choices td {
position: relative;
}
li:hover:before, .choices .select:before {
position: absolute;
left: -35px;
content: url("/ffx/pointer.png");
}
li:hover:has(li:hover):before {
content: "";
}
.subtitle, .battle {
text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
padding: 0;
}
.battle {
margin: 0 auto;
border-collapse: collapse;
}
.big, .subtitle {
max-width: 100%;
}
.subtitle {
background: transparent;
border: none;
margin: 20px auto;
font-size: 1rem;
}
.al-bhed, .pink, i {
color: #f375e5;
}
.blue {
color: #95b4d0; # not right
}
.choices {
text-align: left;
}
.choices tr > * + * {
padding-left: 80px;
}
.battle td {
padding: 0 5px;
}
.battle td.hp.label {
color: #69d2a7;
}
.battle td.mp.label {
color: #c8a8f4;
}
.battle td.value {
text-align: right;
}
.battle td.name {
padding-right: 100px;
}
.battle progress {
width: 100%;
height: 5px;
position: relative;
bottom: 10px;
-webkit-appearance: none;
appearance: none;
border: 1px solid black;
}
.battle progress[value]::-webkit-progress-bar {
background-color: #000;
}
.battle progress[value]::-webkit-progress-value {
background-color: #eeb206;
}
.battle progress[value="100"]::-webkit-progress-value {
background-color: #ff5f01;
}
code {
background-color: #f2f2f2;
font-family: "Inconsolata", mono;
color: #000;
text-shadow: none !important;
font-weight: normal;
font-size: 0.9em;
}
p, ul {
margin: 5px 0;
}
blockquote {
margin: 10px 20px;
}
details {
margin: 5px 0;
}
blockquote, details {
text-align: justify;
background-color: rgba(54,45,88,1);
padding: 5px;
border-radius: 10px;
border: 1px solid #6a619a;
}
details > summary {
cursor: pointer;
}
details[open] > summary {
border-bottom: 1px solid #6a619a;
}
details > summary:before {
content: "[click to show] ";
font-size: 0.8em;
color: #eeb206;
}
details[open] > summary:before {
content: "[click to hide] ";
}
details blockquote {
margin: 0;
border-radius: 0;
}
blockquote.quote p:first-child:before {
content:"“"
}
blockquote.quote p:last-child:after {
content:"”"
}
img {
max-width: 100%;
}
small {
font-size: 0.8em;
}
img.metaimg{
display: block;
margin: 5px auto;
}
del {
color: #9c9a96;
}
hr {
border: 1px solid #6a619a;
margin: 10px 0;
}
/* form#theform {
min-width: 400px;
} */
form#theform > * {
display:block;
}
form#theform input, form#theform textarea {
width:95%;
margin: 10px;
}
form#theform input, form#theform textarea, form#theform button {
background-color: rgba(54,45,88,1);
color: #cfcecc;
}
form#theform input::placeholder, form#theform textarea::placeholder {
color: #cfecc;
opacity: 1;
}
form#theform button {
cursor: pointer;
}
| 1 | /* by mez, https://tre.praze.net */ |
| 2 | |
| 3 | @charset "utf-8" |
| 4 | |
| 5 | @import url(https://fonts.bunny.net/css?family=inconsolata:400); |
| 6 | |
| 7 | @font-face { |
| 8 | font-family: "TB UD Gothic"; |
| 9 | src: url("/fonts/ffx.ttf"); |
| 10 | display: swap; |
| 11 | } |
| 12 | |
| 13 | body { |
| 14 | font-family: "TB UD Gothic", sans-serif; |
| 15 | font-weight: bold; |
| 16 | font-size: 0.8em; |
| 17 | text-align: center; |
| 18 | background-image: url(""); |
| 19 | background-size: auto; |
| 20 | background-repeat: no-repeat; |
| 21 | background-attachment: fixed; |
| 22 | color: #cfcecc; |
| 23 | line-height: 1.5rem; |
| 24 | letter-spacing: 0.5px; |
| 25 | margin: 8px; |
| 26 | } |
| 27 | |
| 28 | body * { |
| 29 | margin: 0; |
| 30 | font-size: 1em; |
| 31 | font-style: normal; |
| 32 | list-style-type: none; |
| 33 | text-decoration: none; |
| 34 | } |
| 35 | |
| 36 | div:not(.e-content):not(.subtitle):not(.invisible), .choices { |
| 37 | width: fit-content; |
| 38 | background: rgba(54,45,88,1); |
| 39 | background: linear-gradient(0deg, rgba(54,45,88,1) 0%, rgba(70,59,127,1) 100%); |
| 40 | border-width: 3px; |
| 41 | border-style: double; |
| 42 | border-color: #6a619a; |
| 43 | padding: 12px 30px; |
| 44 | margin: 20px auto; |
| 45 | } |
| 46 | |
| 47 | div.invisible { |
| 48 | padding: 12px 30px; |
| 49 | margin: 20px auto; |
| 50 | display: flex; |
| 51 | gap: 10px; |
| 52 | flex-direction: row; |
| 53 | flex-wrap: wrap; |
| 54 | justify-content: space-between; |
| 55 | align-items: center; |
| 56 | } |
| 57 | |
| 58 | div:not(.e-content), .choices, .battle { |
| 59 | text-align: left; |
| 60 | } |
| 61 | |
| 62 | div:not(.e-content) { |
| 63 | max-width: 340px; |
| 64 | } |
| 65 | |
| 66 | div.dialog { |
| 67 | text-align: center; |
| 68 | } |
| 69 | |
| 70 | div.fullwidth, div.invisible { |
| 71 | max-width: 900px; |
| 72 | } |
| 73 | |
| 74 | div#table-wrapper { |
| 75 | max-width: 100%; |
| 76 | } |
| 77 | |
| 78 | div:not(.e-content) *, .choices * { |
| 79 | text-shadow: 0px 0px 0 #000, 1px 0px 0 #000, 0px 1px 0 #000, 1px 1px 0 #000; |
| 80 | } |
| 81 | |
| 82 | p.title { |
| 83 | text-align: center; |
| 84 | } |
| 85 | |
| 86 | h1, h2, em, a, .crit .name, .crit .hp-value, .yellow { |
| 87 | color: #eeb206; |
| 88 | } |
| 89 | |
| 90 | h1, h2 { |
| 91 | text-align: center; |
| 92 | } |
| 93 | |
| 94 | .fullwidth h1, .fullwidth h2 { |
| 95 | text-align: left; |
| 96 | } |
| 97 | |
| 98 | li, .choices td { |
| 99 | position: relative; |
| 100 | } |
| 101 | |
| 102 | li:hover:before, .choices .select:before { |
| 103 | position: absolute; |
| 104 | left: -35px; |
| 105 | content: url("/ffx/pointer.png"); |
| 106 | } |
| 107 | |
| 108 | li:hover:has(li:hover):before { |
| 109 | content: ""; |
| 110 | } |
| 111 | |
| 112 | .subtitle, .battle { |
| 113 | text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000; |
| 114 | padding: 0; |
| 115 | } |
| 116 | |
| 117 | .battle { |
| 118 | margin: 0 auto; |
| 119 | border-collapse: collapse; |
| 120 | } |
| 121 | |
| 122 | .big, .subtitle { |
| 123 | max-width: 100%; |
| 124 | } |
| 125 | |
| 126 | .subtitle { |
| 127 | background: transparent; |
| 128 | border: none; |
| 129 | margin: 20px auto; |
| 130 | font-size: 1rem; |
| 131 | } |
| 132 | |
| 133 | .al-bhed, .pink, i { |
| 134 | color: #f375e5; |
| 135 | } |
| 136 | |
| 137 | .blue { |
| 138 | color: #95b4d0; # not right |
| 139 | } |
| 140 | |
| 141 | .choices { |
| 142 | text-align: left; |
| 143 | } |
| 144 | |
| 145 | .choices tr > * + * { |
| 146 | padding-left: 80px; |
| 147 | } |
| 148 | |
| 149 | .battle td { |
| 150 | padding: 0 5px; |
| 151 | } |
| 152 | |
| 153 | .battle td.hp.label { |
| 154 | color: #69d2a7; |
| 155 | } |
| 156 | |
| 157 | .battle td.mp.label { |
| 158 | color: #c8a8f4; |
| 159 | } |
| 160 | |
| 161 | .battle td.value { |
| 162 | text-align: right; |
| 163 | } |
| 164 | |
| 165 | .battle td.name { |
| 166 | padding-right: 100px; |
| 167 | } |
| 168 | |
| 169 | .battle progress { |
| 170 | width: 100%; |
| 171 | height: 5px; |
| 172 | position: relative; |
| 173 | bottom: 10px; |
| 174 | -webkit-appearance: none; |
| 175 | appearance: none; |
| 176 | border: 1px solid black; |
| 177 | } |
| 178 | |
| 179 | .battle progress[value]::-webkit-progress-bar { |
| 180 | background-color: #000; |
| 181 | } |
| 182 | |
| 183 | .battle progress[value]::-webkit-progress-value { |
| 184 | background-color: #eeb206; |
| 185 | } |
| 186 | |
| 187 | .battle progress[value="100"]::-webkit-progress-value { |
| 188 | background-color: #ff5f01; |
| 189 | } |
| 190 | |
| 191 | code { |
| 192 | background-color: #f2f2f2; |
| 193 | font-family: "Inconsolata", mono; |
| 194 | color: #000; |
| 195 | text-shadow: none !important; |
| 196 | font-weight: normal; |
| 197 | font-size: 0.9em; |
| 198 | } |
| 199 | |
| 200 | p, ul { |
| 201 | margin: 5px 0; |
| 202 | } |
| 203 | |
| 204 | blockquote { |
| 205 | margin: 10px 20px; |
| 206 | } |
| 207 | |
| 208 | details { |
| 209 | margin: 5px 0; |
| 210 | } |
| 211 | |
| 212 | blockquote, details { |
| 213 | text-align: justify; |
| 214 | background-color: rgba(54,45,88,1); |
| 215 | padding: 5px; |
| 216 | border-radius: 10px; |
| 217 | border: 1px solid #6a619a; |
| 218 | } |
| 219 | |
| 220 | details > summary { |
| 221 | cursor: pointer; |
| 222 | } |
| 223 | |
| 224 | details[open] > summary { |
| 225 | border-bottom: 1px solid #6a619a; |
| 226 | } |
| 227 | |
| 228 | details > summary:before { |
| 229 | content: "[click to show] "; |
| 230 | font-size: 0.8em; |
| 231 | color: #eeb206; |
| 232 | } |
| 233 | |
| 234 | details[open] > summary:before { |
| 235 | content: "[click to hide] "; |
| 236 | } |
| 237 | |
| 238 | details blockquote { |
| 239 | margin: 0; |
| 240 | border-radius: 0; |
| 241 | } |
| 242 | |
| 243 | blockquote.quote p:first-child:before { |
| 244 | content:"“" |
| 245 | } |
| 246 | |
| 247 | blockquote.quote p:last-child:after { |
| 248 | content:"”" |
| 249 | } |
| 250 | |
| 251 | img { |
| 252 | max-width: 100%; |
| 253 | } |
| 254 | |
| 255 | small { |
| 256 | font-size: 0.8em; |
| 257 | } |
| 258 | |
| 259 | img.metaimg{ |
| 260 | display: block; |
| 261 | margin: 5px auto; |
| 262 | } |
| 263 | |
| 264 | del { |
| 265 | color: #9c9a96; |
| 266 | } |
| 267 | |
| 268 | hr { |
| 269 | border: 1px solid #6a619a; |
| 270 | margin: 10px 0; |
| 271 | } |
| 272 | |
| 273 | /* form#theform { |
| 274 | min-width: 400px; |
| 275 | } */ |
| 276 | |
| 277 | form#theform > * { |
| 278 | display:block; |
| 279 | } |
| 280 | |
| 281 | form#theform input, form#theform textarea { |
| 282 | width:95%; |
| 283 | margin: 10px; |
| 284 | } |
| 285 | |
| 286 | form#theform input, form#theform textarea, form#theform button { |
| 287 | background-color: rgba(54,45,88,1); |
| 288 | color: #cfcecc; |
| 289 | } |
| 290 | |
| 291 | form#theform input::placeholder, form#theform textarea::placeholder { |
| 292 | color: #cfecc; |
| 293 | opacity: 1; |
| 294 | } |
| 295 | |
| 296 | form#theform button { |
| 297 | cursor: pointer; |
| 298 | } |
pointer.png
· 13 KiB · Image (PNG)
Raw