mirror of
				https://github.com/fooflington/selfdefined.git
				synced 2025-10-30 21:58:32 +00:00 
			
		
		
		
	styles: import prism, add grid variant
This commit is contained in:
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -1,6 +1,12 @@ | |||||||
| @charset 'utf-8'; | @charset 'utf-8'; | ||||||
| @import url('https://use.typekit.net/qlo3dpu.css'); | @import url('https://use.typekit.net/qlo3dpu.css'); | ||||||
|  |  | ||||||
|  | @import 'prism-themes/themes/prism-a11y-dark'; | ||||||
|  |  | ||||||
|  | pre[class*='language-'] { | ||||||
|  |   font-size: 1.1rem; | ||||||
|  | } | ||||||
|  |  | ||||||
| // COLORS // | // COLORS // | ||||||
|  |  | ||||||
| :root { | :root { | ||||||
| @@ -66,6 +72,14 @@ h1 { | |||||||
|   font-weight: $bold; |   font-weight: $bold; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | h1, | ||||||
|  | h2, | ||||||
|  | h3, | ||||||
|  | h4 { | ||||||
|  |   margin-top: 1em; | ||||||
|  |   margin-bottom: 0.5em; | ||||||
|  | } | ||||||
|  |  | ||||||
| p { | p { | ||||||
|   margin: 0.75rem 0; |   margin: 0.75rem 0; | ||||||
|   font-size: 1.25rem; |   font-size: 1.25rem; | ||||||
| @@ -91,6 +105,12 @@ a { | |||||||
|   grid-column: span 2; |   grid-column: span 2; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | ul[class] { | ||||||
|  |   list-style: none; | ||||||
|  |   margin: 0; | ||||||
|  |   padding: 0; | ||||||
|  | } | ||||||
|  |  | ||||||
| .summary { | .summary { | ||||||
|   grid-column: span 2; |   grid-column: span 2; | ||||||
| } | } | ||||||
| @@ -116,6 +136,9 @@ a { | |||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | th { | ||||||
|  |   text-align: left; | ||||||
|  | } | ||||||
| // GRID // | // GRID // | ||||||
|  |  | ||||||
| .grid { | .grid { | ||||||
| @@ -135,6 +158,15 @@ a { | |||||||
|   grid-gap: 1rem; |   grid-gap: 1rem; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .small-left-grid { | ||||||
|  |   display: grid; | ||||||
|  |   grid-gap: 1rem; | ||||||
|  |  | ||||||
|  |   @media (min-width: 800px) { | ||||||
|  |     grid-template-columns: 10rem 1fr; | ||||||
|  |   } | ||||||
|  | } | ||||||
|  |  | ||||||
| .box { | .box { | ||||||
|   background: black; |   background: black; | ||||||
|   color: white; |   color: white; | ||||||
| @@ -167,7 +199,7 @@ a { | |||||||
|     } |     } | ||||||
|  |  | ||||||
|     &:last-child { |     &:last-child { | ||||||
|       padding: 0; |       padding-bottom: 0; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     &.subterm:before { |     &.subterm:before { | ||||||
| @@ -352,3 +384,7 @@ a { | |||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .site-footer { | ||||||
|  |   margin-top: 3rem; | ||||||
|  | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Oscar
					Oscar