nicco.io/static/global.css

103 lines
1.7 KiB
CSS
Raw Normal View History

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