pixel-icon-web/src/index.css
2023-11-08 04:08:33 +08:00

103 lines
1.7 KiB
CSS

:root {
font-size: 9px;
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
line-height: 1.5;
font-weight: 400;
--font-color: rgba(255, 255, 255, 0.87);
--background-color: #242424;
color-scheme: light dark;
font-synthesis: none;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%;
}
[data-theme="light"] {
--font-color: #213547;
--background-color: #ffffff;
}
body {
margin: 0;
/* display: flex; */
padding: 0;
/* min-width: 320px; */
min-height: 100vh;
color: var(--font-color);
background-color: var(--background-color);
}
input[type="text"] {
padding: 9px 18px;
color: var(--font-color);
border: 1px solid var(--font-color);
border-radius: 18px;
box-sizing: border-box;
}
input {
background-color: var(--background-color);
}
#wrapper {
width: 100%;
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
font-size: 9pt;
}
header {
display: flex;
justify-content: flex-start;
align-items: center;
gap: 1rem;
/* line-height: 3.2rem; */
}
#site-title {
height: 30px;
width: auto;
fill: currentColor;
margin: 36px 0;
}
h1 {
font-size: 3.2em;
line-height: 1;
}
a.pill,
button.pill {
font-size: 1em;
line-height: 1.5em;
padding: 4px 9px;
border-radius: 27px;
border: 1px solid var(--font-color);
color: var(--font-color);
background-color: var(--background-color);
/* background: #ffffff; */
/* color: #213547; */
text-decoration: none;
appearance: none;
-webkit-appearance: none;
}
img.theme-icon {
width: 1em;
height: 1em;
vertical-align: middle;
}
.ms-auto {
margin-left: auto
}
@media (prefers-color-scheme: light) {
}