qwik-account-manager/static/css/theme.css

255 lines
3.9 KiB
CSS

* {
margin: 0;
padding: 0;
border: 0 none transparent;
box-sizing: border-box;
scroll-behavior: smooth;
font-family: 'Manrope Regular', sans-serif;
font-size: .85rem;
line-height: 1.5;
color: var(--text);
}
html {
display: grid;
place-items: center;
width: 100%;
background-color: var(--surface);
}
body {
margin: 5vh 0 10vh 0;
width: min(90vw, 75ch);
}
header {
color: var(--primary);
font-size: 3rem;
text-align: center;
}
h1, h2, h3, h4, h5, h6 {
color: var(--accent);
font-weight: normal;
margin: 1.25em 0 .25em 0;
}
h1 {
color: var(--primary);
font-size: 2rem;
}
h2 {
font-size: 1.65rem;
}
h3 {
font-size: 1.35rem;
}
h4 {
font-size: 1rem;
}
h5 {
font-size: .85rem;
}
h6 {
font-size: .75rem;
}
p {
margin: .5em 0 .25em 0;
overflow-wrap: break-word;
}
a {
color: var(--accent2);
}
b, strong {
font-family: 'Manrope SemiBold', sans-serif;
font-weight: bold;
}
.centered {
text-align: center;
}
blockquote {
margin: 1rem;
padding: .5rem 1rem;
border-left: .2rem solid var(--primary);
border-radius: 0 .5rem .5rem 0;
background-color: var(--grey3);
box-shadow: 0 1rem 2rem var(--grey1);
}
ul, ol {
margin: 1rem 0 1rem 2rem;
}
ul ul, ul ol, ol ol, ol ul {
margin: .25rem 0 .25rem 1rem;
}
table {
margin: 1rem 0;
width: 100%;
display: block;
overflow-x: auto;
white-space: nowrap;
border-collapse: collapse;
box-shadow: 0 1rem 2rem var(--grey1);
}
table tbody {
display: table;
width: 100%;
}
tr {
background-color: var(--grey3);
}
tr:nth-child(even) {
background-color: var(--grey2);
}
th {
font-family: 'Manrope SemiBold';
}
th, td {
text-align: left;
vertical-align: middle;
padding: .25rem 1rem;
border: 1px solid var(--grey4);
}
code {
background-color: var(--grey3);
font-family: monospace;
padding: .1rem .2rem;
margin: 0 .1rem;
border-radius: .2rem;
}
pre > code {
margin: 1rem 0;
padding: 1rem;
border-radius: .5rem;
box-shadow: 0 1rem 2rem var(--grey1);
display: block;
overflow-x: auto;
white-space: nowrap;
}
code * {
font-family: monospace;
}
img {
margin: 1rem 5%;
border-radius: .5rem;
box-shadow: 0 1rem 2rem var(--grey1);
}
img.logo {
margin: 1rem auto;
width: 30%;
box-shadow: none;
}
.buttons {
display: flex;
flex-wrap: wrap;
/* justify-content: center; */
margin-top: auto;
}
.buttons > a {
color: var(--primary);
background-color: transparent;
border: .1rem solid var(--primary);
border-radius: .5rem;
margin: .5rem;
padding: .5rem 1.5rem;
display: block;
font-size: .75rem;
text-decoration: none transparent;
text-align: center;
transition: color .3s, background-color .3s;
}
.buttons > a:hover, .buttons > a:focus {
color: var(--surface);
background-color: var(--primary);
}
form {
display: flex;
flex-direction: column;
width: fit-content;
width: min(100%, 45ch);
}
label {
margin: 1rem 0 .5rem 0;
color: var(--primary);
}
input {
width: 100%;
background-color: var(--grey3);
border: .1rem solid var(--grey3);
border-radius: .5rem;
padding: .25rem .75rem;
transition: border-color .3s, background-color .3s, color .3s;
}
input:hover {
border-color: var(--grey4);
background-color: var(--grey4);
}
input:focus, input:active {
border-color: var(--primary);
outline: 0 none transparent;
}
input[type="submit"] {
color: var(--primary);
background-color: transparent;
border: .1rem solid var(--primary);
border-radius: .5rem;
width: max-content;
margin: 1rem 0;
padding: .5rem 1.5rem;
cursor: pointer;
}
input[type="submit"]:hover {
color: var(--surface);
background-color: var(--primary);
}
.captcha {
display: block;
margin: 0 0 .75rem 0;
}
p.hint {
font-size: .65rem;
}