-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
96 lines (80 loc) · 1.8 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
html {
scroll-padding-top: 35px; /* height of your navbar */
}
/* --- navbar --- */
.navbar {
padding-top: 5px;
padding-bottom: 5px;
}
/* --- spacing on all sections --- */
.section {
margin-top: 50px; /* adjust as needed */
margin-bottom: 50px; /* adjust as needed */
}
.section:last-of-type {
padding-bottom: 4rem;
}
/* --- background image and text --- */
.bgimage {
height:65vh;
background: url('images/surf.jpeg');
background-size:cover;
background-position: center 25%;
position: relative;
padding: 0;
margin: 0;
}
.home_title {
padding-top: 10rem;
font-size: 4.5rem;
}
.home_desc {
font-size: 2rem;
}
.home_desc_pop{
font-size: 2rem;
color: firebrick;
}
.home_text {
text-align: center;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}
.fab {
color: #000000;
}
/* --- metadata column --- */
.meta-data-link {
color: skyblue;
word-wrap: break-word;
text-align: left;
}
.meta-data-element {
margin-bottom: 20px;
margin-top: 10px;
}
.servicesIcon {
font-size: 30px;
text-align: center;
width: 100%;
}
.headshot-img {
border-radius: 50%;
}
/* --- main info column --- */
.img-float-right {
float: right; /* Makes the image float to the left */
width: 30%; /* Takes up 30% of its parent container's width */
max-width: 200px; /* Sets a maximum width for the image */
margin-left: 15px; /* Add space to the left of the image */
margin-bottom: 15px; /* Add space below the image */
}
.media-img {
width: 400px;
height: 100px;
object-fit: cover; /* this ensures the image covers the full width & height without distorting */
display: block; /* to remove any default spacing/gaps */
}