-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
126 lines (110 loc) · 1.81 KB
/
styles.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/* General styles */
body {
color: black;
background-image: url('Photos/With%20Credit%20Protogen.png');
background-repeat: no-repeat;
background-attachment: fixed;
background-size: cover;
}
/* Sidebar styles */
.sidebar {
width: 30%;
height: 100%;
background-color: #222;
position: fixed;
left: 0;
top: 0;
overflow-y: auto;
padding-top: 20px;
transition: all 0.5s ease;
}
.sidebar .button {
background-color: transparent;
border: none;
color: #f1f1f1;
text-align: left;
font-size: 16px;
font-weight: bold;
font-family: 'Ubuntu', sans-serif;
cursor: pointer;
width: 100%;
height: 50px;
margin-bottom: 5px;
transition: transform 0.2s, background-color 0.2s;
}
.sidebar .button:hover {
background-color: rgba(255, 255, 255, 0.1);
transform: scale(1.1);
}
.sidebar .button-home {
background-color: #3B8BEA;
color: #fff;
font-weight: bold;
margin-bottom: 20px;
}
.sidebar .button-home:hover {
background-color: #2B6BAE;
}
/* Content styles */
.content {
margin-left: 30%;
padding: 20px;
box-sizing: border-box;
position: relative;
width: 70%;
}
h1, h2, h3, h4, h5, h6 {
color: #000;
font-weight: bold;
}
h1 {
font-size: 2rem;
margin-top: 50px;
margin-bottom: 20px;
}
/* Button styles */
.button {
transition: transform 0.2s, background-color 0.2s;
}
.button:hover {
transform: scale(1.1);
}
/* Loading bar styles */
#loading-bar {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 5px;
background-color: #ddd;
z-index: 9999;
}
#loading-progress {
height: 100%;
background-color: #1d4888;
width: 0%;
transition: width 1s ease-out;
}
/* Responsive design */
@media (max-width: 567px) {
.content,
.sidebar {
width: 100%;
margin-left: 0;
left: 0;
}
.content {
padding: 10px;
}
.sidebar {
width: 70%;
padding-top: 10px;
padding-bottom: 10px;
}
}
@media (max-width: 523px) {
body {
background-size: contain;
background-position: center;
}
}