summaryrefslogblamecommitdiffstatshomepage
path: root/scss/style.scss
blob: e818f7b680d992d6880a31d72ee6ebe87f8a3c7c (plain) (tree)
1
2
3
4
5
6
7
8
9


                            
                                



                                            
                 
                      



                                
                         
















                                  
                            
                         



                       








                                  







                                  




                                  


























                                      




                                























                                                  

                                









                                            
@import '_webfonts';
@import '_responsive_fonts';

$font-sans: Alegreya Sans, sans;
$font-serif: Alegreya, serif;
$font-mono: Iosevka, Inconsolata, monospace;

$yellow: #ffd400;
$canary: #ffffc3;
$canary-text: #191900;

body {
	background-color: white;
	color: black;
	line-height: 1.6;
	margin: 0;
}

h1 {
	font-family: $font-serif;
	font-size: 3.5rem;
	font-weight: normal;
	margin: 0;
}

code {
	font-family: $font-mono;
	font-size: smaller;
}

pre {
	background-color: $canary;
	color: $canary-text;
	line-height: 1.3;
	overflow: auto;
	padding: .7rem;
}

blockquote {
	background-color: $canary;
	padding: .7rem;
}

blockquote > p {
	margin: 0;
}

.frontpage {
	background-color: $yellow;
	font-family: $font-serif;
	font-size: 4rem;
}

.post {
	font-family: $font-sans;
	font-size: 1.3rem;

	header {
		font-size: 1.5rem;
	}
}

nav.main ul {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	list-style: none;
	margin: .5rem;
	padding: 0;
}

nav.main li a {
	background-color: white;
	border: 4px solid black;
	box-shadow: 10px 10px 0 black;
	color: black;
	display: block;
	margin: .8rem .8rem;
	padding: 0 .8rem;
	text-decoration: none;
}

nav.main li a:hover {
	background-color: black;
	color: white;
}

nav.main li a:focus {
	background-color: black;
	color: white;
}

article {
	margin: 1rem auto;
	max-width: 1024px;
	padding: 0 1rem;

	header {
		border-bottom: 1px solid darkgrey;

		a {
			background-color: white;
			font-weight: bold;
			text-decoration: none;
		}

		address {
			display: none;
		}

		time { font-size: smaller; }
	}

	img {
		display: block;
		margin: 0 auto;
		max-width: 100%;
		height: auto;
	}

	hr {
		border: 0;
		border-top: 1px dashed grey;
		width: 80%;
	}

	ul { list-style: square; }
}