Files
legolog/client/public/global.css
Benjamin Kyd 8c230db9b5 style
Former-commit-id: ea0cbc45f7916c128b30534df44ad437b78c8dcb
2022-03-31 11:18:15 +01:00

54 lines
1012 B
CSS

body {
font-family: 'Josefin Sans', sans-serif;
/* all EM in the document is based off this DONT TOUCH */
/* it's also kinda the default so you can touch it if you want */
/* BODY TEXT SHOULD BE 1EM */
font-size: 16px;
color: #222;
text-decoration: none;
background-color: #F5F6F6;
display: block;
margin-left: auto;
margin-right: auto;
transition: all 250ms ease-in;
}
limited-margin {
position: relative;
display: block;
margin-left: auto;
margin-right: auto;
width: 85%;
max-width: 1400px;
}
/* small screen */
@media screen and (max-width: 900px) {
limited-margin {
width: 90%;
}
}
/* mobile */
@media (pointer:none), (pointer:coarse) {
body {
font-size: 25px;
}
limited-margin {
width: 95%;
}
}
.slide-in {
display: inline;
transition: all 1s;
translate: translateX(-100%);
}
.slide-out {
display: inline;
transition: all 1s;
translate: translateX(100%);
}