nicco.io/static/global.css
2020-09-24 19:29:43 +02:00

82 lines
1.4 KiB
CSS

@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400&family=Playfair+Display&display=swap');
:root {
--ff: 'Jost', Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans,
Helvetica Neue, sans-serif;
--ff-alt: 'Playfair Display', serif;
--clr-primary: hsl(219, 90%, 80%);
--clr-secondary: hsl(64, 93%, 51%);
--animation: all 250ms ease;
}
body {
margin: 0;
box-sizing: border-box;
overflow: hidden;
background-color: #ffffff;
font-family: var(--ff);
font-size: 1em;
font-weight: lighter;
color: #000;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: var(--ff-alt);
font-weight: normal;
margin: 1em 0 0.5em 0;
line-height: 1.2;
}
p {
text-align: justify;
line-height: 1.5;
}
hr {
border: 0.1px solid var(--clr-primary);
}
a {
color: inherit;
text-decoration: none;
}
ion-icon {
transform: translateY(0.2rem);
}
.progress {
box-sizing: border-box;
width: 100%;
position: relative;
background: #fff;
margin: 0.5em 0;
padding: 0.1em 0.5em;
border: 1px solid black;
}
.progress > span {
position: relative;
z-index: 1;
}
.progress > div {
height: 100%;
background: var(--clr-primary);
position: absolute;
top: 0;
left: 0;
z-index: 0;
}