This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
LoredMarkdown/src/css/style.css

194 lines
3.3 KiB
CSS
Raw Normal View History

2023-11-28 21:04:21 -03:00
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
:root {
--banner-color: #b1b1b1;
--banner-bgc: #000;
--options-bgc: #0a0a0a;
2023-12-06 09:35:07 -03:00
--border-color: #404040;
--dark-txt-color: #404040;
--light-txt-color: #ffffff;
2023-11-28 21:04:21 -03:00
}
html, body {
font-family: 'Roboto', sans-serif;
height: 100%;
margin: 0;
padding: 0;
}
body {
min-height: 100%;
}
.container {
background-color: var(--banner-bgc);
display: grid;
height: 100%;
2023-12-01 12:42:25 -03:00
grid-template-columns: repeat(2, 50%);
}
2023-11-28 21:04:21 -03:00
.banner {
background-color: var(--banner-color);
height: 100px;
width: 300px;
align-self: center;
justify-self: center;
border-radius: 20px;
box-shadow: 0px 10px 20px 10px rgb(58, 58, 58);
2023-12-01 12:42:25 -03:00
margin: 40px;
2023-11-28 21:04:21 -03:00
}
.options {
2023-12-06 09:35:07 -03:00
/* background-color: var(--options-bgc); */
2023-11-28 21:04:21 -03:00
color: white;
padding: 70px;
2023-12-07 18:33:04 -03:00
overflow: auto;
overflow-x: hidden;
}
2023-11-28 21:04:21 -03:00
input::placeholder {
2023-12-06 09:35:07 -03:00
color: var(--dark-txt-color);
text-shadow: none;
2023-11-28 21:04:21 -03:00
}
label {
2023-12-06 09:35:07 -03:00
color: var(--dark-txt-color);
2023-11-28 21:04:21 -03:00
font-size: 1.5rem;
2023-12-07 18:33:04 -03:00
align-self: center;
2023-11-28 21:04:21 -03:00
}
h1 {
font-size: 2.5rem;
}
h1, input {
text-shadow: 0 0 5px #fff;
}
2023-12-06 09:35:07 -03:00
.txt-input, select, .style-layout > input[type="color"] {
background: var(--options-bgc);
border: solid 1px var(--border-color);
2023-11-28 21:04:21 -03:00
height: 3rem;
border-radius: 6px;
2023-12-06 09:35:07 -03:00
width: 20rem;
2023-11-28 21:04:21 -03:00
padding-left: 1rem;
padding-right: 1rem;
2023-11-28 21:04:21 -03:00
font-size: 1.5rem;
2023-12-06 09:35:07 -03:00
color: var(--light-txt-color);
font-weight: 400;
transition: all .2s ease-in-out;
2023-12-06 09:35:07 -03:00
box-sizing: border-box;
}
2023-12-06 09:35:07 -03:00
input:focus, select:focus, .style-layout > input[type="color"]:focus {
outline: none !important;
border: solid 1px #a3a3a3 ;
box-shadow: 0px 0px 0px 4px #3f3f46;
2023-11-28 21:04:21 -03:00
}
.options-grid-container {
display: grid;
2023-12-01 12:42:25 -03:00
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
2023-12-06 09:35:07 -03:00
align-items: start;
2023-11-28 21:04:21 -03:00
row-gap: 30px;
}
#layout {
2023-12-06 09:35:07 -03:00
color: var(--dark-txt-color);
2023-11-28 21:04:21 -03:00
}
input[type="radio"], input[type="checkbox"] {
-webkit-appearance: none;
appearance: none;
margin: 0;
background-color: #3c3c3c;
font: inherit;
color: currentColor;
width:2rem;
height: 2rem;
border-radius: 50%;
}
input[type="radio"]:focus, input[type="checkbox"]:focus {
border-style: none;
box-shadow: none;
}
2023-11-28 21:04:21 -03:00
input[type="radio"]:checked, input[type="checkbox"]:checked {
background-color: #fff;
transition: all .5s ease-out;
box-shadow: 0 0 10px 5px rgb(100, 100, 100);
2023-11-28 21:04:21 -03:00
}
input[type="radio"]:not(:checked), input[type="checkbox"]:not(:checked) {
transition: all .5s ease-out;
box-shadow: none;
}
2023-11-28 21:04:21 -03:00
.center-txt-vertically {
display: flex;
align-items: center;
gap: 10px;
}
.list-of-items {
display: grid;
align-items: start;
justify-content: start;
gap: 10px;
}
2023-12-06 09:35:07 -03:00
.span-all {
2023-11-28 21:04:21 -03:00
grid-column: 1 / -1;
}
2023-12-06 09:35:07 -03:00
#bg-img-link {
align-self: center;
}
2023-12-07 18:33:04 -03:00
.style-layout, .repo-wrapper {
2023-11-28 21:04:21 -03:00
display: grid;
gap: 15px;
}
2023-12-06 09:35:07 -03:00
.style-layout > input[type="color"] {
padding: 0;
}
@media only screen and (max-width: 800px) {
.container {
grid-template-columns: 100%;
}
.options-grid-container {
justify-items: center;
}
.options {
display: grid;
justify-content: center;
overflow-x: hidden;
}
}
2023-12-06 09:35:07 -03:00
.centralize-verticaly {
display: grid;
align-content: center;
background-color: var(--options-bgc);
overflow: auto;
overflow-x: hidden;
2023-12-07 18:33:04 -03:00
}
.repo-wrapper {
border: solid 1px var(--dark-txt-color);
border-radius: 6px;
padding: 1rem;
width: 20rem;
box-sizing: border-box;
}
.repo-wrapper > input {
width: 100%;
2023-12-06 09:35:07 -03:00
}