-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.css
102 lines (88 loc) · 1.47 KB
/
index.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
95
96
97
98
99
100
101
* {
box-sizing: border-box;
}
html, body {
min-height: 100vh;
margin: 0px;
font-family: 'Roboto 500 ', sans-serif;
}
header {
display: block;
background-color: #427F99;
padding: 1%;
text-align: center;
font-size: 150%;
color: white;
}
nav {
position: -webkit-sticky;
position: sticky;
top: 0;
position: relative;
float: left;
width: 15%;
height: 100%;
background: #CCCCCC;
padding: 1%;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0%;
font-size: 110%;
font-weight: bold;
}
li a{
margin: 0;
display: block;
color: #427F99;
padding: 8px 16px;
text-decoration: none
}
li a:hover {
background-color: #427F99;
color: white;
font-size: 125%;
}
article {
min-height: calc(100vh - 70px);
min-height: 100%;
text-align: justify;
align-content: center;
margin: auto;
width: 85%;
background-color: white;
font-size: 120%;
}
section::after {
content: "";
display: table;
clear: both;
}
footer {
position: absolute;
background-color: #427F99;
width: 100%;
padding: 20px;
text-align: center;
color: white;
}
div {
margin: auto;
}
.big-header {
margin-bottom:0;
margin-top: 15px;
}
.little-header {
margin-top : 0;
margin-bottom: 15px;
padding-top:0;
font-style: italic;
}
.sample {
text-align: justify;
padding-left: 25%;
padding-right: 25%;
margin: auto;
}