kalkulator/static/assets/css/style.css

86 lines
1.6 KiB
CSS
Raw Normal View History

2024-10-16 22:46:58 +02:00
:root {
font-size: 18px;
--theme-bg: rgb(24, 24, 24);
--text-color: white;
--button-primary: rgb(81, 81, 81);
--button-secondary: rgb(243, 134, 51);
--button-settings: rgb(72, 72, 72);
}
body {
color: var(--text-color);
background-color: var(--theme-bg);
font-family: "IBM Plex", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
2024-10-17 09:05:34 +02:00
user-select: none;
overflow: hidden;
2024-10-16 22:46:58 +02:00
}
button {
font-family: "Montserrat", sans-serif;
font-optical-sizing: auto;
font-weight: 500;
font-style: normal;
font-variation-settings: "slnt" 0;
2024-10-17 09:05:34 +02:00
}
.history-container::-webkit-scrollbar {
display: none;
}
.history-container {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
overflow-y: scroll;
padding: 1rem;
display: flex;
flex-direction: column;
justify-content: end;
align-items: center;
gap: 0.75rem;
text-align: center;
font-family: "IBM Plex", sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
user-select: none;
transform: scale(1.2);
filter: blur(10px);
opacity: 0;
pointer-events: none;
z-index: 200;
transition: all 0.4s;
}
.history-container span {
color: rgba(255, 255, 255, 0.6);
}
.history-container span strong {
color: white;
}
body.history-open .history-container {
transform: scale(1);
filter: blur(0);
opacity: 1;
pointer-events: initial;
}
body.history-open .calculator {
transform: scale(0.8);
filter: blur(10px);
opacity: 0.4;
2024-10-16 22:46:58 +02:00
}