Univerter/static/style.css
2024-09-18 09:19:40 -05:00

150 lines
2.3 KiB
CSS

@font-face {
font-display: swap;
font-family: 'Rubik';
font-style: normal;
font-weight: 400;
src: url('./fonts/rubik-v28-latin-regular.woff2') format('woff2');
}
:root {
--primary-color: rgb(205, 188, 255);
--text-color: rgb(255, 255, 255);
--background-color: rgb(20, 23, 50);
--second-bg-color: black;
}
@media screen and (min-width: 650px) {
.grid-container {
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 10px;
width: 80%;
margin: auto;
}
.grid-child {
width: 100%;
margin: auto;
align-content: center;
/* border: 2px white solid; */
}
select {
width: 70%;
max-width: 200px;
}
}
* {
text-align: center;
color: var(--text-color);
font-family: "Rubik", Verdana, Geneva, Tahoma, sans-serif;
}
h1,
h1>* {
font-size: 3rem;
color: var(--primary-color);
font-weight: 100;
}
hr {
opacity: 0.5;
}
p,
li {
font-size: 1.1rem;
line-height: 1.75rem;
}
p {
margin: 5px;
}
body {
background-color: var(--background-color);
padding: 0 3%;
max-width: 700px;
margin: auto;
/* outline: 3px blue solid; */
margin: auto;
display: flex;
align-items: center;
}
@media screen and (min-height: 700px) {
html,
body {
height: 100%;
}
}
.mainDiv {
width: 100%;
/* outline: 2px white solid; */
}
iframe {
display: none;
}
select,
input {
font-size: 1.3rem;
background-color: rgba(0, 0, 20, 0.5);
color: var(--text-color);
margin: 5px auto;
border: 2px rgb(150, 135, 165) solid;
border-radius: 5px;
padding: 7px;
display: inline;
transition: all 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}
input[type="url"] {
border: none;
border-bottom: 2px white solid;
width: 80%;
font-size: 1.15remd;
}
a {
color: rgb(125, 125, 255)
}
.col-sm-3 {
outline: white solid 2px
}
select:hover,
input:hover {
border-color: var(--text-color)
}
option {
background-color: rgba(0, 0, 20);
}
input[type="checkbox"] {
accent-color: var(--primary-color);
width: 1.05rem;
height: 1.05rem;
}
.error {
background-color: rgb(50, 40, 70);
padding: 10px;
border: rgb(150, 50, 50) solid 2px;
border-radius: 15px;
display: inline-block;
}
ul {
display: inline-block;
}