-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
98 lines (85 loc) · 1.99 KB
/
main.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
html, body {
height: 100%;
margin: 0;
}
body {
font-family: "Helvetica Neue", Arial, sans-serif;
background-color: #a9a9aa; /* Grey background for the left and right columns */
padding: 0;
}
/*left sidebar */
#sidebar {
position: fixed;
top: 0;
left: 0;
height: 100%;
width: 200px; /* Sidebar width */
background-color: #444; /* Darker grey for the sidebar */
padding-top: 70px;
}
#sidebar ul {
list-style-type: none;
padding: 0;
}
#sidebar ul li {
margin: 20px 0;
}
#sidebar ul li a {
text-decoration: none;
color: white;
font-size: 18px;
padding: 10px 20px;
display: block;
}
#sidebar ul li a:hover {
background-color: #666; /* Lighter grey on hover */
border-radius: 4px;
}
#container {
margin-left: 220px; /* Adjust for the sidebar width */
width: 60%; /* Central column width */
background-color: white;
padding: 20px;
min-height: 100vh; /* Ensures the container fills the full height of the page */
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Optional shadow effect */
}
h1, p {
text-align: center;
}
/* Footer styles */
#footer {
background-color: #f1f1f1;
text-align: center;
padding: 10px 0;
width: 100%;
font-size: 14px;
position: fixed;
left: 0;
bottom: 0;
}
/* Right Sidebar styling */
#right-sidebar {
position: fixed;
top: 0;
right: 0;
height: 100%;
width: 200px; /* Width of the right sidebar */
background-color: #444; /* Darker grey for the right sidebar */
padding-top: 70px;
color: white; /* Text color for visibility */
}
#right-sidebar h2 {
text-align: center;
}
#right-sidebar p {
padding: 10px 15px; /* Padding for the paragraphs */
}
/* Adjust the main content container */
#container {
margin-left: 220px; /* Adjust for the left sidebar width */
margin-right: 220px; /* Make space for the right sidebar */
width: auto; /* Allow the container to adjust automatically */
background-color: white;
padding: 20px;
min-height: 100vh; /* Ensure full page height */
}