Repository navigation
Expand file tree
/
Copy pathstyles.css
More file actions
122 lines (103 loc) · 1.73 KB
/
Copy pathstyles.css
File metadata and controls
122 lines (103 loc) · 1.73 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
html {
height: 100%;
}
body {
background-color: rgb(223, 221, 221);
position: relative;
min-height: 100vh;
padding: 0;
margin: 0;
}
main {
padding: 0 20px 40px 20px;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
/* CSS for navigation bar */
.navbar {
position: -webkit-sticky;
position: sticky;
top: 0;
width: 100%;
height: 7%;
z-index: 10;
display: flex;
justify-content: space-between;
align-items: center;
text-align: center;
background-color: rgb(107, 165, 112);
color: white;
padding: 0px 0px;
/* Debug border */
/* border: solid red; */
}
.nav-list {
display: flex;
flex-direction: row;
position: relative;
right: 30px;
list-style: none;
}
.navbar a {
color: rgb(38, 41, 38);
font-weight: bold;
margin: 0 12px;
text-decoration: none;
letter-spacing: 2px;
}
/* CSS for page footer */
.footer {
display: flex;
justify-content: center;
align-items: center;
background-color: black;
color: white;
position: absolute;
bottom: 0;
width: 100%;
height: 2.5rem;
}
.about-title {
color: black;
font-family: helvetica;
font-size: 1.2rem;
font-weight: bold;
}
.contact-info {
border: 2px solid black;
border-radius: 12px;
padding: 10px 24px;
}
.gallery {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 20px;
width: min(900px, 100%);
margin-top: 20px;
}
.gallery img {
display: block;
width: 100%;
height: auto;
}
.about {
display: flex;
align-items: center;
gap: 30px;
max-width: 900px;
}
.about-image img {
display: block;
max-width: 300px;
height: auto;
}
.about-text {
flex: 1;
}
@media (max-width: 700px) {
.about {
flex-direction: column;
}
}