From cbb57deda3dd43c1721456d3bfeaf7f449d8d399 Mon Sep 17 00:00:00 2001 From: jornmann Date: Fri, 18 Nov 2022 15:07:37 +0200 Subject: [PATCH] add losedows xp type styles --- css/xp.css | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 css/xp.css diff --git a/css/xp.css b/css/xp.css new file mode 100644 index 0000000..5fcc346 --- /dev/null +++ b/css/xp.css @@ -0,0 +1,173 @@ +/* Thanks to the 98.css project */ + +@font-face { + font-family: "Pixelated MS Sans Serif"; + src: url("https://unpkg.com/98.css/fonts/converted/ms_sans_serif.woff") format("woff"); + src: url("https://unpkg.com/98.css/fonts/converted/ms_sans_serif.woff2") format("woff2"); + font-weight: normal; + font-style: normal; +} + +@font-face { + font-family: "Pixelated MS Sans Serif"; + src: url("https://unpkg.com/98.css/fonts/converted/ms_sans_serif_bold.woff") format("woff"); + src: url("https://unpkg.com/98.css/fonts/converted/ms_sans_serif_bold.woff2") format("woff2"); + font-weight: bold; + font-style: normal; +} + +html, body { + margin: 0px 5px 5px 5px; + background-color: #008080; + font-family: "Pixelated MS Sans Serif", Arial, sans-serif; + -webkit-font-smoothing: none; + font-size: 11px; +} +body { + margin: auto; + width: 728px; +} +@media screen and (max-width: 728px) { + body { + width: 100%; + } +} +div.window-bar { + font-family: "Trebuchet MS", Arial, sans-serif; + background: linear-gradient(180deg,#0997ff,#0053ee 8%,#0050ee 40%,#06f 88%,#06f 93%,#005bff 95%,#003dd7 96%,#003dd7); + border-top: 1px solid #0831d9; + border-left: 1px solid #0831d9; + border-right: 1px solid #001ea0; + border-top-left-radius: 7px; + border-top-right-radius: 7px; + color: #ffffff; + font-size: 14px; + text-shadow: 1px 1px #0f1089; + padding: 3px 5px 3px 3px; + font-weight: 700; + margin: 0 auto; +} +div.window { + background-color: #ece9d8; + border-top-left-radius: 7px; + border-top-right-radius: 7px; + box-shadow: inset -1px -1px #00138c,inset 1px 1px #0831d9,inset -2px -2px #001ea0,inset 2px 2px #166aee,inset -3px -3px #003bda,inset 3px 3px #0855dd; + padding: 0 0 3px; + /*border: 1px outset #ffffff; + box-shadow: 1px 1px #000000;*/ + margin-top: 10px; + margin-bottom: 10px; +} +div.window-content { + padding: 15px; +} +.post-date:before { + content: " - "; +} +img.pfp { + float: left; + padding: 2px; + box-shadow: inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a; + margin-right: 15px; + display: block; +} +div.bio { + grid-area: bio; +} +.clearfix::after { + content: ""; + clear: both; + display: table; +} +hr { + border: none; + border-bottom: 1px solid #808080; +} +footer { + text-align: center; +} +a.options { + text-decoration: none; +} +a.options:visited { + color: #0000ee; +} +.monospace { + font-family: monospace; +} +img.mood { + vertical-align: middle; +} +div.hidden-info { + display: none; + font-family: monospace; +} +label.show-info { + color: #0000ee; + cursor: pointer; +} +label.show-info:active { + color: #ff0000; +} +input.show-info:checked ~ div.hidden-info { + display: flex; +} +pre.hidden-info { + margin: 5px 0px 0px 0px; +} +div.grid-container { + display: grid; + grid-template-columns: auto auto auto; +} +div.bio-grid-container { + display: grid; + /*grid-template-columns: 98px auto auto;*/ + grid-template-areas: + 'pfp bio'; +} +pre { + white-space: pre-wrap; + word-break: break-word; +} +input, textarea { + font-family: "Pixelated MS Sans Serif", Arial, sans-serif; + font-size: 11px; +} +input[type="text"], input[type="password"] { + box-shadow: inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a; + height: 15px; + line-height: 2; + padding: 3px 4px; + background-color: #fff; + border: none; + width: 50%; +} +textarea { + box-shadow: inset -1px -1px #fff,inset 1px 1px grey,inset -2px -2px #dfdfdf,inset 2px 2px #0a0a0a; + padding: 3px 4px; + background-color: #fff; + border: none; +} +button, input[type="reset"], input[type="submit"] { + font-size: 11px; + box-sizing: border-box; + border: 1px solid #003c74; + background: linear-gradient(180deg,#fff,#ecebe5 86%,#d8d0c4); + box-shadow: none; + border-radius: 3px; + padding: 0 12px; + min-width: 75px; + min-height: 23px; +} +button:hover, input[type="reset"]:hover, input[type="submit"]:hover { + box-shadow: inset -1px 1px #fff0cf,inset 1px 2px #fdd889,inset -2px 2px #fbc761,inset 2px -2px #e5a01a; +} +button:focus, input[type="reset"]:focus, input[type="submit"]:focus { + box-shadow: inset -1px 1px #cee7ff,inset 1px 2px #98b8ea,inset -2px 2px #bcd4f6,inset 1px -1px #89ade4,inset 2px -2px #89ade4; + outline: 1px dotted #000; + outline-offset: -4px; +} +button:active, input[type="reset"]:active, input[type="submit"]:active { + box-shadow: none; + background: linear-gradient(180deg,#cdcac3,#e3e3db 8%,#e5e5de 94%,#f2f2f1); +}