summaryrefslogblamecommitdiff
path: root/css/base.scss
blob: f38c10bc51c4f1e2c5e22cc1ff207b1f5431f165 (plain) (tree)




























































                                                                 
div.page * + p,* + ol,* + table,* + ul {
	margin-top:1rem;
}

li p + ul,li p + ol {
	margin-top:0;
}

a {
	&,&:visited {
		color:          var(--colour);
		text-decoration:none;
	}

	&:hover {
		color:var(--foregroundColour);
	}
}

span.emphasis {
	font-style:italic;
}

p.math,span.math,td.math {
	font-size:  calc(3rem / 2);
	padding:    calc(1rem / 3) 0;
	user-select:none;
}

table {
	@include invertedTheme();
	border-radius: calc(1rem / 3);
	border-spacing:0;
	border-style:  solid;
	border-width:  calc(1rem / 3);

	tr {
		&.small {
			font-size:calc(2rem / 3);
		}

		td,th {
			padding:calc(1rem / 12) calc(2rem / 12);
		}

		td {
			background-color:var(--backgroundColour);
			color:           var(--foregroundColour);
		}

		th {
			text-align:center;
		}
	}
}

ul,ol {
	li {
		margin-left:1rem;
	}
}