nicco.io/src/app.css

100 lines
1.7 KiB
CSS
Raw Normal View History

2020-07-24 11:10:01 +02:00
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400&family=Playfair+Display&display=swap');
2020-09-28 15:24:50 +02:00
* {
box-sizing: border-box;
2020-09-28 16:17:53 +02:00
-webkit-overflow-scrolling: touch;
2021-02-10 11:23:38 +01:00
scroll-behavior: smooth;
2020-09-28 15:24:50 +02:00
}
2020-09-22 21:47:33 +02:00
:root {
2021-08-02 09:53:08 +02:00
--ff: 'Jost', Roboto, -apple-system, BlinkMacSystemFont, Segoe UI, Oxygen, Ubuntu, Cantarell, Fira Sans, Droid Sans,
Helvetica Neue, sans-serif;
2020-09-22 21:47:33 +02:00
--ff-alt: 'Playfair Display', serif;
--clr-light: #ffffff;
--clr-dark: #010101;
2020-09-23 15:37:12 +02:00
--clr-primary: hsl(219, 90%, 80%);
--clr-secondary: hsl(64, 93%, 51%);
2020-11-02 15:55:59 +01:00
--clr-error: hsl(0, 73.9%, 65.5%);
2020-09-23 15:37:12 +02:00
--animation: all 250ms ease;
2020-09-22 21:47:33 +02:00
}
2020-07-23 20:30:57 +02:00
body {
2020-07-24 11:10:01 +02:00
margin: 0;
2020-07-24 15:16:04 +02:00
overflow: hidden;
background-color: var(--clr-light);
2020-07-23 20:30:57 +02:00
2020-09-22 21:47:33 +02:00
font-family: var(--ff);
2020-12-29 20:46:19 +01:00
font-size: 16px;
2020-07-24 11:10:01 +02:00
font-weight: lighter;
color: var(--clr-dark);
2020-07-24 11:10:01 +02:00
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
text-shadow: rgba(0, 0, 0, 0.01) 0 0 1px;
2020-07-23 20:30:57 +02:00
}
2020-12-29 20:46:19 +01:00
@media (min-width: 30em) {
body {
font-size: 18px;
}
}
2020-07-24 11:10:01 +02:00
h1,
h2,
h3,
h4,
h5,
h6 {
2020-09-22 21:47:33 +02:00
font-family: var(--ff-alt);
2020-07-24 11:10:01 +02:00
font-weight: normal;
2020-07-27 12:36:55 +02:00
margin: 1em 0 0.5em 0;
2020-09-23 15:37:12 +02:00
line-height: 1.2;
2020-07-23 20:30:57 +02:00
}
2020-07-24 11:10:01 +02:00
p {
text-align: justify;
line-height: 1.5;
2020-07-23 20:30:57 +02:00
}
2020-07-27 12:36:55 +02:00
hr {
border: 0.1px solid var(--clr-primary);
}
2020-07-24 11:10:01 +02:00
a {
color: inherit;
2020-07-24 15:30:46 +02:00
text-decoration: none;
2020-07-24 11:10:01 +02:00
}
2020-09-24 19:29:43 +02:00
2020-09-25 23:51:56 +02:00
ul {
margin: 0;
padding: 0;
padding-left: 0px;
padding-left: 1em;
list-style: square;
}
2020-09-24 19:29:43 +02:00
.progress {
box-sizing: border-box;
width: 100%;
position: relative;
background: var(--clr-light);
2020-09-24 19:29:43 +02:00
margin: 0.5em 0;
padding: 0.1em 0.5em;
border: 1px solid var(--clr-dark);
2020-09-24 19:29:43 +02:00
}
.progress > span {
position: relative;
z-index: 1;
}
.progress > div {
height: 100%;
background: var(--clr-primary);
position: absolute;
top: 0;
left: 0;
z-index: 0;
}