-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (76 loc) · 1.15 KB
/
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
82
83
84
85
86
87
88
89
90
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html,
body {
font-family: Arial, sans-serif;
font-weight: 300;
line-height: 1.4;
scroll-behavior: smooth;
}
a {
text-decoration: none;
}
body {
display: flex;
gap: 10px;
}
header {
border: 1px solid #ccc;
height: 100vh;
position: relative;
top: 0;
background-color: #f2f2f2;
}
nav {
padding: 20px 10px;
}
nav h1 {
font-size: 1.5rem;
font-weight: 300;
padding: 10px;
border-bottom: 1px solid #ccc;
}
nav ul {
list-style: none;
}
nav ul li {
border-bottom: 1px solid #ccc;
padding: 10px;
color: black;
}
nav ul li:hover {
background: #ccc;
transition: 0.3s ease-in-out;
}
/* Main Section */
main {
padding: 50px;
}
section {
margin-bottom: 50px;
scroll-margin: 50px;
}
section h2 {
font-size: 20px;
border-bottom: 1px solid #ccc;
margin-bottom: 20px;
}
table {
border-collapse: collapse;
margin: 20px auto;
background-color: #fff;
border: 2px solid #dee2e6;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
th, td {
border: 1px solid #dee2e6;
padding: 10px;
text-align: center;
}
th {
background-color: #f2f2f2;
color: #343a40;
}