-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
138 lines (118 loc) · 4.04 KB
/
style.css
File metadata and controls
138 lines (118 loc) · 4.04 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
/*
You can add custom CSS and extend Boostrap styles in this file. Remember, Bootstrap is just CSS at the end of the day!
*/
/* This sets the background of the entire website to a dark gray */
html body{
background: #444444;
}
/* This is so the navbar is fixed to the top of the screen and spans the entire screen width */
.navbar{
position: fixed;
width: 100%;
}
/* This sets the navbar elements, excluding the house icon, to the left side of the screen */
.navbar-nav{
margin-left: auto;
}
/* This puts all the text of the hero section in the center of screen */
#hero-section{
text-align: center;
}
/* This is for the hero image and it sets the width and height to 100% of the screen and also sets it to cover the entire screen and center. It is fixed so that it has a paralax effect. The z-index is set to -1 so all the other HTML elements sit on top of it. */
.heroImg{
background-image: url(img/Circuit.jpg);
background-position: center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
width: 100%;
height: 100%;
z-index: -1;
}
.spacing{
padding-top: 20vh;
}
/* This is for the hero section for your name and catch phrase. The text has the font family of Ubuntu and a text shadow to improve readability along with the text being centered horizontally and vertically. */
.overlay{
text-align: center;
color: white;
width: 100%;
height: 50vh;
padding-top: 20px;
font-family: 'Ubuntu', sans-serif;
text-shadow: 2px 2px 4px black;
}
.overlay h1{
font-family: 'Ubuntu', sans-serif;
}
/* This is for the profile picture, adding a white round border around it and centering the image in and to cover the entire space. The image is horizontally centered using margins. */
.profilePic{
background-image: url(img/pfpPic.jpg);
border-radius: 50%;
background-position: center;
background-size: cover;
background-repeat: no-repeat;
height: 200px;
width: 200px;
border: white solid 5px;
margin-left: auto;
margin-right: auto;
}
#inspiration-section{
padding-top: 30px;
}
/* The carousel is scaled down so that images can be clearly veiwed and the comments for it are also seen. The margins are set for auto so it is centered on the screen. The images are set to cover to allow for the image to be centered */
.carousel{
width: 50%;
height: 50%;
margin-right: auto;
margin-left: auto;
object-fit: cover;
}
/* Adds as a black transparent background to the comments for readabilty against the images. */
.carousel-caption{
background: rgba(0,0,0,0.5);
padding: 2px 1px 1px 1px;
}
/* The image for the mission section takes up 100% of the width of the contaienr and has a margin for when it is in a column. */
.mission-img{
width: 100%;
margin-bottom: 20px;
}
.skill-img{
margin-bottom: 20px;
height: 20vh;
}
/* The icons have a view port font size of 10 for when in a column since it shows up clearly. */
.icon-c{
font-size: 10vh;
color: white;
}
/* This allows for the footer to have a width of the entire screen length with padding for the text inside to not look cramped. */
.footer{
width: 100%;
padding-top: 15px;
padding-bottom: 15px;
}
/* When the footer takes up the entire width the background is not the same as the bootstrap one so this is to compensate for it. */
#footer-section{
background: #212529;
}
/* This sets the color of the text as a nice gray for high contrast. The font is set to Noto Sans for readability. The headers have Avro for their text family with a text shadow to have them stand apart from the regular text. */
p{
color: #ededed;
font-family: 'Noto Sans', sans-serif;
}
h1{
font-family: 'Arvo', serif;
color: #EDEDED;
text-shadow: 2px 2px 4px black;
}
/* This is for the targeting of the navbar so it can select just above the section instead of selecting the title of the selection and having the navbar cover it up. */
#mission-target,
#skills-target,
#inspiration-target,
#contact-target{
position: relative;
top: -60px;
}