-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmsu-thesis-style.css
81 lines (64 loc) · 1.32 KB
/
msu-thesis-style.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
Color scheme
#bab5a9;
#d5e3c6
*/
/* ************** */
/* *** Fonts *** */
/* ************** */
/* Font size tricks from https://www.madebymike.com.au/writing/precise-control-responsive-typography/
* The font size will be adjusted to the screen size.
* */
:root{
font-size: 18px;
}
/* the min width is calculated as:
* font-size / ( number of viewport units / 100 )
* it means 16 / (1.5/100)
*/
/*
*/
/* ************** */
/* *** Layout *** */
/* ************** */
body{
/* max-width:52rem; */
margin:0;
padding:0;
/* display:grid; */
/* grid-auto-rows: auto; */
}
/* @media screen and (min-width: 57rem) {
body{
display:grid;
grid-template-columns: 15rem 1fr;
}
main.main-content{max-width:40rem;}
nav.TOC{
grid-row:1;
min-height:100vh;
}
} */
/* ****************** */
/* *** Formatting *** */
/* ****************** */
main.main-content{
padding:1rem;
}
p.indent, p.noindent{text-indent:0}
/* ************** */
/* *** Colors *** */
/* ************** */
/* body{background-color:#dce8d0;} */
/* It seems that dark background is better to my eyes */
body{background-color:#F1EADE;}
main.main-content{
background-color:white;
}
nav.TOC,nav.TOC a, nav.TOC a:visited{
background-color:#22211f;
color:#cec1aa;
}
nav.TOC span:hover, nav.TOC span:hover *{
background-color:#66635d;
}