Sha256: a4cd77442f7e0eada26f4cef3784baeec046b045a88f6ac46b78e808e0249e0f

Contents?: true

Size: 1.77 KB

Versions: 2

Compression:

Stored size: 1.77 KB

Contents

html {
	font-family: "PT Sans", Verdana, Helvetica, Arial, sans-serif;
	font-size: 16px;
}

pre {
	tab-size: 2;
}

@media (min-width: 40em) {
	html {
		font-size: 18px;
	}
	
	pre {
		tab-size: 4;
	}
}

@media (min-width: 80em) {
	html {
		font-size: 20px;
	}
	
	pre {
		tab-size: 4;
	}
}

html {
	--main-color: #111;
	--main-background-color: #fff;
	
	--header-color: #bed1f0;
	--underlay-color: #ddd;
	
	--accent-color: #1a73e8;
	--accent-hover-color: #33a3ff;
	
	--overlay-color: rgba(255, 255, 255, 0.9);
	--underlay-color: rgba(0, 0, 0, 0.2);
}

@media (prefers-color-scheme: dark) {
	html {
		--main-color: #e1e1e1;
		--main-background-color: #111;
		
		--header-color: #222;
		--overlay-color: #333;
		
		--accent-color: #01b9ff;
		--accent-hover-color: #80dcff;
		
		--overlay-color: rgba(0, 0, 0, 0.8);
		--underlay-color: rgba(255, 255, 255, 0.9);
		
		background-color: black;
	}
}

body {
	margin: 0 0;
	padding: 0;
	
	/* Force the element to contain margins */
	display: flow-root;
	min-height: 100vh;
	
	color: var(--main-color);
	background-color: var(--main-background-color);
	
	max-width: 48rem;
	margin: 0 auto;
}

header, h1, h2, h3, h4, h5, h6, p, ul, dl, ol {
	margin: 1rem;
}

nav {
	margin: 1rem;
	font-size: 0.8rem;
	color: #aaa;
}

li {
	margin: 0.8rem;
}

ul.index {
	padding: 0;
	padding-left: 0.5rem;
	margin: 0.5rem;
	margin-bottom: 1rem;
	list-style: none;
}

li > ul, li > ol {
	margin: 0;
}

h1 {
	margin-bottom: 4rem;
}

h2 {
	margin-top: 6rem;
}

h3 {
	margin-top: 4rem;
}

h4, h5, h6 {
	margin-top: 2rem;
}

img {
	border: none;
}

a {
	color: var(--accent-color);
	text-decoration: none;
}

a:hover {
	color: var(--accent-hover-color);
}

pre {
	overflow: auto;
	padding: 1rem 2rem;
}

footer {
	text-align: right;
	font-size: 0.65rem;
	
	margin: 1rem;
	margin-top: 5rem;
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
utopia-project-0.4.0 public/_static/site.css
utopia-project-0.3.0 public/_static/site.css