Rewrite entirety of CSS

This commit is contained in:
Sophie Marie 2023-04-16 18:33:02 -05:00
parent 956ec4484a
commit 73163609e0
Signed by: IDeletedSystem64
GPG Key ID: F5D997A1BEF778ED
1 changed files with 40 additions and 142 deletions

View File

@ -1,179 +1,77 @@
/* CSS for System64.dev v2, by IDeletedSystem64. Under MIT License (v4.14.23) */
@import url('https://fonts.googleapis.com/css2?family=Bitter:wght@600&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Bitter:wght@600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
/* Import Fonts */ /* Import dem fonts */
div.alert { button.home {
width: 100%; font-family: 'Share Tech Mono', monospace;
background-color: #ffffe1; color: white;
} /* font-size: */
p.alert {
display: inline; display: inline;
font-family: 'Share Tech Mono', monospace;
color: black;
} }
header { h1 {
background: linear-gradient(#072CFF, #0e26ae );
position: absolute;
left: 0px;
top: 0px;
height: 40px;
width: 100%
}
h1.header {
padding: 32px;
font-family: 'Bitter', serif; font-family: 'Bitter', serif;
color: white; color: white;
display: inline; display: inline;
font-size: 26pt
} }
/* Header / Menubar */
h1.intro { h2 {
font-family: 'Share Tech Mono', monospace; font-family: 'Bitter', serif;
color: white; color: white;
font-size: 2.5vw; font-size: 16pt;
padding-top: 13vw;
padding-left: 5vw;
}
p.info {
font-family: 'Share Tech Mono', monospace;
color: white;
font-size: 1.25vw;
margin: 0 0 0 5.5%; /* we use margins now, fuck you. */
} }
li { li {
font-family: 'Share Tech Mono', monospace; font-family: 'Share Tech Mono', monospace;
color: white; color: white;
font-size: 1.20vw; font-size: 15pt;
list-style-type: square; list-style-type: square;
} }
ul { /* Text based stuffs */
margin: 1% 0 0 5.5%;
}
div.main {
width: 75%;
margin: auto;
}
div.buttons {
margin: 1% 0 0 5%;
}
body { body {
background-image: url("/img/bg.jpg"); background-image: url("/img/bg.jpg");
} }
/* Main content as well as website background */
input { .container {
-webkit-appearance: none; height: 100vh;
min-width: 200px; display: flex;
background: #dad9d9; flex-direction: column;
font-size: 150%;
font-family: 'Share Tech Mono', monospace;
color: black;
box-shadow: inset -0.05em -0.05em black
}
input:active {
background: #acacac;
box-shadow: inset 0em 0em
} }
.button { div.main {
display: inline-flex; margin-top: 30vh;
font-size: 16px; margin-left: 10vh;
text-align: center;
border: none;
border-radius: 4px;
outline: none;
box-shadow: none;
cursor: pointer;
transition: 0.3s ease-in-out;
} }
/* Website layout */
.button.button1 {
border-radius: 0;
box-sizing: border-box;
min-height: 23px;
color: #000;
padding: 0 2px 2px 0;
border-top: 1px solid #CCCCCC;
border-right: 0.1px solid transparent;
border-bottom: 1px solid #333333;
border-left: 1px solid #CCCCCC;
background-color: #979797;
width: 15%;
}
.button.button1 span {
-webkit-appearance: none;
margin-left: auto;
margin-right: auto;
display: block;
width: 100%;
background: #dad9d9;
font-size: 170%;
font-family: 'Share Tech Mono', monospace;
box-shadow: inset -0.05em -0.05em black;
}
.button.button1 span:hover,
.button.button1:hover + .button.button1 span {
background-color: #ACACAC;
border-top: 1px solid transparent;
border-right: 0.1px solid #dad9d9;
border-bottom: 1px solid #dad9d9;
border-left: 1px solid transparent;
box-shadow: inset -0.05em -0.05em transparent;}
.button.button1:hover {
background-color: #ACACAC;
}
div.webbutton {
margin: auto;
width: 264px;
padding-top: 3px;
}
img.webbutton{ img.webbutton{
width: 88px; width: 88px;
height: 31px; height: 31px;
float: left; float: left;
text-align: center; text-align: center;
} }
/* Button */ /* Web buttons :) */
a { /* Did you know: I wish I wasn't doing this right now? */
text-decoration: none; @media (max-width: 64em) {
} h1 {
/* I'm mad that I have to make this mobile-compatible, Lol. https://twitter.com/IDeleteSystem64/status/1512218098325147655?s=20&t=Hz4V-vxmywYwTMvuBbCAZQ */ font-size: 56pt;
@media only screen and (max-width: 980px) {
p.intro {
font-size: 8vw;
padding-top: 10px;
} }
header { h2 {
height: 75px; font-size: 28pt;
} }
h1.header { li {
font-size: 60px; font-size: 26pt;
padding-left: 25%;
} }
input { div.main {
margin-left: -10%; margin-left: 0vh;
font-size: 7vw;
-webkit-text-size-adjust:100%;
min-width: 125%;
max-width: 125;
}
p.info {
font-family: 'Share Tech Mono', monospace;
color: white;
font-size: 4.5vw;
} }
img.webbutton { .container {
width: 176px; flex-wrap: wrap;
height: 62px; align-items: center;
float: left;
} }
div.webbutton { }
width: 100%;
padding-left: 15%;
}
}