-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstyle.css
103 lines (78 loc) · 1.44 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
/* Basic page styling */
body {
font-family: sans-serif;
margin: 0;
padding: 0;
background-color: #f4f4f4; /* Light gray background */
}
/* header {
background-color: #4CAF50; /* Green background
color: white;
text-align: center;
padding: 1em 0;
} */
nav {
background-color: #333; /* Dark gray navigation */
color: white;
padding: 1em 0;
text-align: center;
}
nav ul {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
list-style: none;
margin: 0;
padding: 0;
}
nav li {
display: inline;
margin: 0 1em;
}
nav a {
color: white;
text-decoration: none;
}
main {
display: flex;
position: relative;
height: 100%;
width: 100%;
padding: 2em;
}
img
{
height: 30rem;
width: 100%;
}
.login-section {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: center;
gap: 2em;
height: 100%;
width: 100%;
}
.login-box {
text-align: center;
padding: 1em;
border: 1px solid #ccc;
border-radius: 5px;
}
.login-box img {
width: 100px;
height: 100px;
}
footer {
background-color: #333; /* Dark gray footer */
color: white;
text-align: center;
padding: 1em 0;
}
/* Responsive design */
@media (max-width: 768px) { /* Adjust for smaller screens */
.login-section {
flex-direction: column /* Stack login boxes vertically */
}
}