blog/static/style.css

76 lines
1.1 KiB
CSS
Raw Normal View History

2021-10-18 04:05:23 +00:00
/* ### TYPOGRAPHY ### */
2021-10-20 04:03:31 +00:00
@font-face {
font-family: 'Tajawal';
font-style: normal;
font-weight: 400;
src: url(/Tajawal-Regular.woff2) format('woff2');
2021-10-25 15:09:37 +00:00
font-display: block;
2021-10-20 04:03:31 +00:00
}
2021-10-18 04:05:23 +00:00
html {
font-family: 'Tajawal', sans-serif;
font-size: 20px;
line-height: 1.3;
letter-spacing: -0.005em;
2022-05-14 14:43:08 +00:00
color: #1e1e1e;
2021-10-18 04:05:23 +00:00
}
body {
margin: 0;
}
h1, h2, h3, h4, h5, h6 {
font-family: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Ubuntu, Arial, sans-serif;;
font-weight: 600;
color: #464646;
}
h1 {
font-variant: petite-caps;
2021-10-20 04:03:31 +00:00
margin-top: 0.75rem;
}
h1, h2 {
margin-bottom: 0.75rem;
2021-10-18 04:05:23 +00:00
}
h3 {
font-size: 1.2rem;
}
h4 {
font-size: 1.1rem;
}
2021-10-20 04:03:31 +00:00
h3, h4 {
margin-bottom: 0.5rem;
}
2021-10-18 04:05:23 +00:00
h5, h6 {
font-size: 1rem;
2021-10-20 04:03:31 +00:00
margin-bottom: 0;
2021-10-18 04:05:23 +00:00
}
p {
margin-top: 0;
margin-bottom: 1rem;
}
/*ul, ol {
margin: 0.5rem 0;
}*/
code {
background: #eee;
border-radius: 0.2rem;
font-family: Consolas, monospace;
2022-05-14 18:18:42 +00:00
font-size: 0.8rem;
padding: 0.05rem 0.2rem 0.1rem;
2021-10-18 04:05:23 +00:00
}
pre > code {
font-size: 0.8rem;
}
2021-10-25 15:09:37 +00:00
/* TESTING */