bigly-chat/static/main.css
2024-11-25 14:12:43 -05:00

107 lines
No EOL
1.5 KiB
CSS

/* https://git.zenoverse.net/bigly-archive/auth-thing/raw/branch/main/src/routes/+layout.svelte */
body {
height: 100vh;
width: 100vw;
margin-top: 0px;
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto;
}
:root {
--dark-1: #2b2f36;
--dark-2: #d8d8d8;
--dark-3: rgb(73, 138, 236);
--light-1: #ffffff;
--light-2: #f8f8f8;
--hyperlink: rgb(139, 171, 219);
--shadow-1: 0px 0px 2px 2px var(--dark-2);
font-family: sans-serif;
}
a {
color: var(--hyperlink);
text-decoration: none;
}
input,
textarea,
.button {
border: 0;
border-radius: 0.2rem;
box-shadow: var(--shadow-1);
font-size: 1rem;
padding: 0.5rem;
margin-bottom: 0.5rem;
}
.button a {
text-decoration: none;
color: var(--light-1);
}
.area,
form {
width: 700px;
box-shadow: var(--shadow-1);
padding: 10px;
margin-top: 10px;
}
form {
grid-template-columns: 0.7fr 1fr;
}
.form-entry {
display: block;
}
.form-key {
margin-right: 10px;
}
.form-message {
font-style: italic;
}
#main-content {
width: 720px;
}
.button {
background-color: var(--hyperlink);
font-weight: bold;
width: 150px;
}
.header {
background: var(--dark-1);
color: var(--light-1);
padding: 10px;
display: flex;
width: 100vw;
margin: 0;
font-size: 1.2em;
align-items: center;
}
.header a {
font-weight: bold;
color: white;
}
.header img {
height: 2em;
margin-right: 1em;
}