-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
156 lines (135 loc) · 2.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
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
/* hero background image */
.bgimage {
height:100vh;
background-image: url('https://raw.githubusercontent.com/yashk1873/portfolio-site/be14516cbafafdf4da12ff2a0adf20c2cf83e9c2/images/_DSC4977%20(2).JPG');
background-size:cover;
background-position: center;
position:relative;
}
/**/
#navbar button span .bi-arrow-bar-down i:hover {
font-weight: bold;
}
/*navbar css*/
#navbar button {
background-color: white;
color: black;
}
#navbar button:hover {
background-color: #0a58ca ;
color: black;
}
/* text css above hero image*/
.hero_title {
font-size: 4.5rem;
}
.hero_desc {
font-size: 2rem;
}
.hero-text {
text-align: left;
position: absolute;
top: 80%;
left: 50%;
transform: translate(-50%, -50%);
color: white;
}
/*section about*/
#about {
margin-top: 0px;
padding-top: 0px;
}
/*adding css properties to .bi class for icons in skill section*/
.bi {
font-weight: 900;
}
.bi {
font-family: "Font Awesome 5 Free";
}
.bi {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: inline-block;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 1;
}
/* about section image css */
.imageAboutPage {
width: 100%;
}
/* services section css */
.servicesText.card {
height: 280px;
cursor: pointer;
}
.servicesIcon {
font-size: 36px;
text-align: center;
width: 100%;
}
.card-title {
text-align: center;
}
.card:hover .servicesIcon {
color: #008000;
}
.servicesText:hover {
border: 1px solid #008000;
}
/* display background color black on navbar scroll */
.navbarScroll.navbarDark {
background-color: black;
}
/* social media icons styling */
.social-icons {
font-size: 36px;
cursor: pointer;
}
.fa-facebook:hover,.fa-instagram:hover,.fa-twitter:hover,.fa-linkedin:hover, .fa-github:hover {
color: #008000;
}
.fab {
color: #000000;
}
/* footer styling */
#footer {
background-color: white;
text-align: center;
}
/* spacing on all sections */
#about, #services, #portfolio, #contact {
margin-top: 4rem;
padding-top: 4rem;
}
#contact {
padding-bottom: 4rem;
}
#portfolio .btn-success{
background-color: #000000;
border-color: #000000;
}
/*menu links*/
#navbarSupportedContent .nav-link {
color: white;
}
#navbarSupportedContent .nav-link:hover {
color: #0a58ca;
}
#navbar .navbar-brand {
color: white;
}
#navbar .navbar-brand:hover {
color: #0a58ca;
}
/*spacing among sections*/
#about, #services, #portfolio, #contact {
margin-top: 4rem;
padding-top: 0rem;
}
/**/
#about p {
margin-top: 1rem;
margin-bottom: 1rem;
}