-
Notifications
You must be signed in to change notification settings - Fork 0
/
studies.css
94 lines (85 loc) · 1.42 KB
/
studies.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
82
83
84
85
86
87
88
89
90
91
92
93
94
body {
background: rgb(26, 53, 79);
color: rgb(45, 45, 45);
padding: 10px;
font-family: arial;
}
header {
font-size: 1.5em;
font-weight: bold;
}
[id=all-contents] {
max-width: 800px;
margin: auto;
}
/* navigation menu */
nav {
background: rgb(89, 27, 44);
margin: 0 auto;
display: flex;
padding: 10px;
}
nav header {
display: flex;
align-items: center;
color: rgb(255, 255, 255);
flex: 1;
}
nav ul {
list-style-image: none;
}
nav li {
display: inline-block;
padding: 0 10px;
}
nav a {
text-decoration: none;
color: #fff;
}
/* main container area beneath menu */
main {
background: rgb(242, 171, 190);
display: flex;
padding:inherit;
}
[class=content] {
flex: 1;
border-radius:35px;
padding: 15px;
margin-top:15px;
box-sizing: border-box;
width: 100%;
}
.content h1, h2, h3, h4, h5, h6 {
margin: 10px;
}
.content section > a {
text-decoration: none;
}
.code {
font-family: monospace;
background: #eee;
border: 1px solid #ccc;
color: #222;
white-space: pre;
width: 100%;
margin-bottom: 20px;
overflow: scroll;
}
.topic-heading {
padding-left: 50px;
text-transform: capitalize;
}
.line {
display: flex;
padding: 2px 0;
}
.line:nth-child(even) {
background: #ddd;
}
.line-number {
min-width: 40px;
padding-left: 5px;
text-align: right;
padding-right: 20px;
}