forked from Avdhesh-Varshney/WebMasterLog
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
138 lines (138 loc) · 2.46 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
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #f4f4f4;
}
header {
background-color: #4CAF50;
color: white;
padding: 1em;
text-align: center;
}
nav ul {
list-style-type: none;
padding: 0;
display: flex;
justify-content: center;
background-color: #333;
}
nav ul li {
margin: 0 10px;
}
nav ul li a {
color: white;
text-decoration: none;
padding: 14px 20px;
display: block;
}
nav ul li a:hover {
background-color: #575757;
}
.container {
padding: 20px;
max-width: 1200px;
margin: 0 auto;
}
#register {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
background-color: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
.form-group {
margin-bottom: 15px;
width: 100%;
}
.form-group label {
display: block;
margin-bottom: 5px;
}
.form-group input, .form-group select {
width: 100%;
padding: 8px;
box-sizing: border-box;
}
button {
background-color: #4CAF50;
color: white;
padding: 10px 15px;
border: none;
cursor: pointer;
border-radius: 5px;
}
button:hover {
background-color: #45a049;
}
.hackathon-dashboard {
display: flex;
flex-wrap: wrap;
gap: 10px;
justify-content: flex-start;
}
.hackathon-card {
width: calc(33.333% - 10px);
box-sizing: border-box;
margin-bottom: 10px;
border-radius: 5px;
background-color: #f9f9f9;
padding: 1.75rem;
border: 1px solid #ccc;
}
.hackathon-card h3 {
margin-top: 0;
}
.hackathon-card .status {
font-weight: bold;
}
.edit-btn, .delete-btn {
margin-right: 5px;
}
#calendar-container {
background-color: white;
padding: 2rem;
border-radius: 10px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
overflow: hidden;
}
#calendar {
width: 100%;
box-sizing: border-box;
overflow: auto;
}
@media (max-width: 768px) {
.container {
padding: 10px;
}
.hackathon-card {
width: calc(50% - 10px);
}
button {
width: 100%;
margin-top: 10px;
}
#calendar {
width: 100%;
}
}
@media (max-width: 480px) {
nav ul {
flex-direction: column;
}
nav ul li {
margin: 5px 0;
}
.hackathon-card {
width: 100%;
}
#calendar {
width: 100%;
}
}