aboutsummaryrefslogblamecommitdiffstats
path: root/src/style/style.css
blob: 9adbb11292177bebce601b5232882c5ea936dfe1 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12











                                          
                                  
                        


        
                           
 
 


                        
 


                              
 



                         


                       
 






                                  
 




                                  
 
                  


                       



                                  




                            

                                  
                        
                       
 
 




                                   
 








                                  



                           




                                  

                             

                                  
 
 
              

                           
 



                              
 



                                 


                         
 


                               
 



                        
                                          



                                 


                           

                      

                               

                                 
         





                                    
 

/*
 * rgoncalves.se
 * /do whatever you want with that shit/
 */

* {
	font-family: monospace, monospace;
	text-align: justify;
}

html {
	margin: 2em auto 2em auto;
	max-width: 72ch;
}

header {
	margin-bottom: 2em;
}

header ul {
	padding-left: 0;
}

header ul li {
	display: inline-block;
}

header ul li:last-child {
	float: right;
}

a, a:hover, a:visited {
	color: blue;
}

a:hover {
	background-color: #eeeeee;
}

ul.index {
	padding-inline-start: 0;
}

ul.index li {
	margin: .4em 0 .4em 0;
	display: block;
	background-color: #eeeeee;
}

ul.index li span {
	display: block;
}

li {
	overflow-wrap: break-word;
}

ul li p {
	margin-top: .6em;
	margin-bottom: .6em;
}

table {
	border-collapse: collapse;
	font-size: .8em;
	overflow: auto;
}

table th, table td {
	padding: .4em 1em .4em 1em;
	margin: 0;
	overflow: hidden;
}

table tr:hover {
	background-color: #eeeeee;
}

pre {
	background-color: #eeeeee;
	overflow: auto;
}

p, ul li {
	line-height: 1.5em;
}

p code {
	background-color: #cccccc;
	font-style: italic;
}

blockquote {
	margin-inline-end: 0;
	margin-inline-start: 0;
	background-color: #cccccc;
}

blockquote * {
	font-style: italic;
}

blockquote p {
	margin-block-start: 0;
	margin-block-end: 0;
}

footer blockquote {
	background-color: yellow;
}

footer {
	margin-top: 16em;
}

footer blockquote {
	margin-inline-start: 0;
}

img {
	max-width: 100%;
}

@media only screen and (max-width: 72ch) {
	* {
		text-align: left;
	}

	body {
		width: 90%;
	}

	header ul li {
		display: block;
	}
	header ul li:last-child {
		float: left;
	}

	table {
		table-layout: fixed;
		width: 100%
	}

}
remember that computers suck.