-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
162 lines (140 loc) · 2.61 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
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
/* General styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f1f1f1; /* Set background color */
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
text-align: center;
padding-bottom: 100px; /* Ensure space for footer */
}
header {
background-color: #333;
color: #fff;
padding: 20px 0;
position: fixed;
top: 0;
width: 100%;
z-index: 1000; /* Ensure it's above other content */
}
nav {
text-align: center;
}
.menu {
list-style-type: none;
margin: 0;
padding: 0;
}
.menu li {
display: inline-block;
margin: 0 10px;
}
.menu li a {
color: #fff;
text-decoration: none;
transition: color 0.3s ease; /* Add transition */
}
.menu li a:hover {
color: #ffd700;
}
section {
padding: 50px 0;
text-align: center;
position: relative;
overflow: hidden;
margin-top: 70px; /* Adjust to keep space for navbar */
}
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px 0;
width: 100%;
left: 0;
transition: background-color 0.3s ease, height 0.5s ease; /* Add transition */
height: 60px; /* Set smaller height */
z-index: 1000; /* Ensure it's above other content */
}
/* Table styles */
.table-container {
overflow-x: auto;
max-width: 100%;
margin: 0 auto;
}
table {
width: auto;
max-width: 100%;
margin: 0 auto;
border-collapse: collapse;
border-spacing: 0;
}
th,
td {
padding: 10px;
border-bottom: 1px solid #ddd;
text-align: center;
}
/* Button styles */
.btn {
padding: 10px 20px;
background-color: #1da7d1fd;
color: white;
border: none;
cursor: pointer;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s ease; /* Add transition */
}
.btn:hover {
background-color: #032d5e;
}
/* Animations */
@keyframes slideInFromTop {
0% {
transform: translateY(-100%);
}
100% {
transform: translateY(0);
}
}
@keyframes slideInFromBottom {
0% {
transform: translateY(100%);
}
100% {
transform: translateY(0);
}
}
@keyframes fadeIn {
0% {
opacity: 0;
}
100% {
opacity: 1;
}
}
section {
animation: fadeIn 1s ease; /* Add fade in animation */
}
.slide-from-top {
animation: slideInFromTop 0.5s ease;
}
.slide-from-bottom {
animation: slideInFromBottom 0.5s ease;
}
/* Emojis */
.emoji {
font-size: 1.5em;
margin-left: 5px;
}
/* Horizontal line */
.horizontal-line {
width: 100%;
height: 2px;
background-color: #333;
margin: 20px 0;
}