-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles(project3).css
95 lines (83 loc) · 1.41 KB
/
styles(project3).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
@media (prefers-reduced-motion: no-preference) {
* {
scroll-behavior: smooth;
}
}
nav {
height:100%;
width:25%;;
display:block;
position:fixed;
margin:0;
top:0;
left:0;
background-color:#dddddd;
overflow:auto;
}
nav > ul {
list-style:none;
margin-block:30px;
align-items:left;
margin-left:-30px;
width:100%;
}
nav > ul> li {
font-size:1.6em;
padding:5px 0 5px 10px;
border-color:grey;
border-width:1px 0 0 0;
border-style:solid;
display:block;
color:black;
}
nav > header {
padding:20px 0px 0px 10px;
font-weight:bold;
font-size:1.9em;
max-width:100%;
position:sticky;
top:0;
background-color:#dddddd;
height:80px;
}
#main-doc {
width:75%;
margin-left:25%;
padding:10px;
}
#main-doc header {
font-weight:bold;
font-size:1.4em;
margin-top:5px;
margin-bottom:3px;
}
p {
margin-top:0;
margin-bottom:0;
margin-left:20px;
font-size:1.2em;
}
code {
background-color:#eeeeee;
color:#449944;
margin:5px 50px 0 60px;
font-size:1.1em;
display:block;
line-height:1.5;
padding:8px;
}
body {
width:100%;
height:100vh;
}
nav > ul > li:hover {
background:linear-gradient(90deg,#000099 0%,#8888ff 50%,#000099 100%);
color:#ffff00;
}
li > a {
color:inherit;
text-decoration:none;
}
.main-section ul, .main-section ol li b {
font-size:1.2em;
}