summaryrefslogblamecommitdiff
path: root/css/main.scss
blob: 76874793be1cee17f1bae22d02edc5f9f565e2aa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                         
 
                       
                      
                         
 

                                                          

                                             

                                








                               
      


                                            
 



                                                  

                    
 



                                                       
         
 
 

                                 

 

                                    

 



                         
                                      
         

 

                      
                      
$monospaceFont: "Fira Mono", "monospace";

$contentWidth:   72rem;
$padding:        1rem;
$separatorWidth: 0.25rem;

$shadowColour: color-mix(in srgb, black, transparent 50%);

:root {
	font-family: "Raleway", "sans-serif";

	scroll-behavior: smooth;
}

* {
	margin:  0;
	padding: 0;

	box-sizing: border-box;
}

body {
	--backgroundColour: oklch( 25% 0 0);
	--foregroundColour: oklch( 20% 0 0);
	--textColour:       oklch(100% 0 0);

	background-color: var(--backgroundColour);
	color:            var(--textColour);
	z-index:          -1;

	// Default.
	//&.dark { }

	&.light {
		--backgroundColour: oklch(96.875% 0 0);
		--foregroundColour: oklch(93.750% 0 0);
		--textColour:       oklch(25%     0 0);
	}
}

a, a:visited {
	color: var(--textColour);
}

code {
	font-family: $monospaceFont;
}

ul {
	list-style: none;

	li p::before {
		content: "\2022\0020";
	}
}

@import "header.scss";
@import "page.scss";
@import "footer.scss";