Files
nattopages/css/default.css
Amneesh Singh 0e6d6d79a2 add tags
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
2022-05-12 20:30:31 +05:30

145 lines
2.1 KiB
CSS

@font-face {
font-family: 'Monoid Bold';
src: url('https://larsenwork.com/monoid/css/Monoid-Bold.eot');
src: url('https://larsenwork.com/monoid/css/Monoid-Bold.eot?#iefix') format('embedded-opentype'),
url('https://larsenwork.com/monoid/css/Monoid-Bold.woff2') format('woff2'),
url('https://larsenwork.com/monoid/css/Monoid-Bold.woff') format('woff'),
url('https://larsenwork.com/monoid/css/Monoid-Bold.ttf') format('truetype');
font-weight: bold;
font-style: normal;
}
html {
font-size: 62.5%;
}
body {
font-size: 1.6rem;
color: #000;
}
header {
border-bottom: 0.2rem solid #000;
margin: 4.2rem 0;
}
nav {
text-align: center;
margin: 0 auto 3rem;
}
nav a {
font-size: 1.8rem;
font-weight: bold;
color: black;
text-decoration: none;
text-transform: uppercase;
}
nav a:hover {
color: pink;
}
footer {
margin-top: 3rem;
padding: 1.2rem 0;
border-top: 0.2rem solid #000;
font-size: 1.2rem;
color: #555;
}
h1 {
font-size: 2.4rem;
}
h2 {
font-size: 2rem;
}
article .header {
font-size: 1.4rem;
font-style: italic;
color: #555;
}
.logo {
text-align: center;
margin: 1rem auto 3rem;
}
.logo a:hover {
transform: rotate(180deg);
}
.logo a {
font-weight: bold;
font-family: "Monoid Bold";
font-size: 3rem;
color: #000;
text-decoration: none;
}
.subdomains {
list-style-type: none;
}
.subdomains li {
display: inline-block;
}
.subdomains img {
width: 30px;
height: 30px;
}
@media (max-width: 319px) {
body {
width: 90%;
margin: 0;
padding: 0 5%;
}
footer {
text-align: center;
}
nav a {
display: block;
line-height: 1.6;
}
.sticky {
position: fixed;
top: 0;
background: white;
}
}
@media (min-width: 320px) {
body {
width: 90%;
margin: 0;
padding: 0 5%;
}
footer {
text-align: center;
}
nav a {
display: inline;
margin: 0 0.6rem;
}
}
@media (min-width: 640px) {
body {
width: 60%;
margin: 0 auto;
padding: 0;
}
nav a {
margin: 0 0 0 1.2rem;
display: inline;
}
footer {
text-align: right;
}
}