Files
WeatherTool/web/src/css/index.css
T

86 lines
2.1 KiB
CSS

:root{--text:#182230;--text-muted:#667085;--surface:#fff;--surface-soft:#f8fafc;--surface-strong:#edf1f5;--border:#dfe5ec;--accent:#2477c5;--accent-strong:#185a98;--accent-soft:#91bfe8;--accent-pale:#e9f3fc;--success:#269368;--danger:#c84646;--shadow-sm:0 5px 16px rgba(16,24,40,.05);--shadow-md:0 16px 36px rgba(16,24,40,.10)}
*{box-sizing:border-box}
body {
margin: 0;
font-family: Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
color:var(--text);background:#f3f5f8;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4 {
font-family: 'Rubik', sans-serif;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}
ul {
list-style-type: none;
padding-inline-start: 15px;
}
thead {
font-weight: bold;
}
@font-face {
font-family: 'Rubik';
src: url('../assets/Rubik-Medium.ttf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
.primary,.secondary,button {
min-height:38px;background-color:var(--surface-strong);border:1px solid transparent;border-radius:9px;padding:8px 14px;
cursor: pointer;
font-family: 'Rubik', sans-serif;
}
.primary{background:var(--accent);color:#fff}.primary:hover{background:var(--accent-strong)}
input[type=text],input[type=date],input[type=datetime-local],select{min-height:38px;padding:7px 10px;border:1px solid #cfd7e2;border-radius:8px;background:#fff}button:disabled,input:disabled{cursor:not-allowed;opacity:.48}.appContent{min-height:calc(100vh - 73px)}
table td {
padding: 3px 7px;
}
table tr:nth-child(odd) {
background: #d6d6d6;
}
table tr:hover {
background: #c0c0c0;
}
@font-face {
font-family: 'Daira by LTV grafika';
src: url('../assets/ltv_meteo.otf') format('truetype');
font-weight: normal;
font-style: normal;
font-display: swap;
}
.hidden {
display: none;
}
.visible {
display: block;
}
.grid-1-1 {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 10px;
}
.grid-1-2 {
display: grid;
grid-template-columns: 1fr 2fr;
gap: 10px;
}
.weatherIconStub{position:fixed!important;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}