-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
171 lines (143 loc) · 2.27 KB
/
style.css
File metadata and controls
171 lines (143 loc) · 2.27 KB
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
163
164
165
166
167
168
169
170
171
body {
min-width: 100vw;
margin: 0;
background-color: whitesmoke;
overflow-x: hidden;
font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
.navigation {
display: flex;
justify-content: space-between;
}
.navigation a {
text-decoration: none;
color: white;
}
.navigation a:hover {
color: black;
background-color: white;
padding: 4px;
border: 2px solid teal;
}
.nav-list {
list-style-type: none;
}
header {
background-color: teal;
margin-bottom: 4px;
}
ul {
padding: 4px;
}
#profile-img {
border-radius: 50%;
object-fit: cover;
height: 80px;
width: 80px;
}
.gallery-wrapper {
width: 100%;
position: relative;
}
.gallery {
width: 100vw;
overflow-x: hidden;
white-space: nowrap;
padding: 20px 5px;
border: 1px solid #ddd;
scroll-behavior: smooth;
}
.gallery-item {
width: 300px;
display: inline-block;
cursor: pointer;
transition: transform 0.3s ease
}
.gallery-item img {
border-radius: 8px;
object-fit: cover;
box-shadow: 0 4px 6px rgb(0, 0, 0, 0.1);
}
.gallery-item:hover {
transform: scale(1.1);
}
.scroll-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
z-index: 10;
font-size: 24px;
padding: 4px 12px;
background-color: rgba(0, 128, 128, 0.5);
}
.scroll-button:hover {
background-color: teal;
}
.scroll-button.left {
left: 10px;
}
.scroll-button.right {
right: 10px;
}
form {
display: flex;
flex-direction: column;
gap: 5px;
}
form input {
width: 80vw;
padding: 4px;
border-radius: 4px;
outline: none;
border: 1px solid;
}
form textarea {
width: 80vw;
padding: 4px;
border-radius: 4px;
outline: none;
}
form label {
font-size: 14px;
font-weight: bold;
}
h2 {
color: teal;
}
.profile {
display: flex;
justify-content: flex-start;
gap: 20px;
align-items: center;
}
.profile-details h2 {
line-height: 1px;
margin-bottom: 0px;
}
button {
background-color: teal;
color: white;
border: 0;
border-radius: 8px;
padding: 4px;
max-width: 30vw;
cursor: pointer;
}
section {
margin: 0px 10px;
}
table {
width: 100vw;
border-collapse: collapse;
}
th {
background-color: teal;
color: white;
text-align: left;
font-weight: bold;
}
footer {
margin: 20px;
text-align: center;
border-top: 1px solid;
}