-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathhome.css
More file actions
144 lines (131 loc) · 2.96 KB
/
home.css
File metadata and controls
144 lines (131 loc) · 2.96 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
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Blinker:wght@300&display=swap');
body{
background: #076585; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #fff, #076585); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #fff, #076585); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
overflow-x: hidden;
font-family: 'Roboto', sans-serif;
}
header{
margin-top: 0px;
margin-bottom: 40px;
background: url(../images/header.jpg) no-repeat center center fixed;
background-size: cover;
overflow-x: hidden;
padding-top: 0% !important;
}
/* navbar styling */
.navbar{
background-color: rgba(0, 0, 0, 0.295);
}
.navbar-brand{
font-size: 110%;
}
.active-links{
margin-left: 70%;
}
.nav-item a:hover{
color: rgb(255, 238, 0) !important;
transition: 2ms;
font-family: 'Blinker', sans-serif;
}
/* navbar styling ends */
.searchbar{
margin: 15% 20%;
margin-left: 30%;
display:flex
}
.searchbar input{
height: 45px;
width: 360px;
border: none;
background-color: rgb(236, 236, 236);
border-radius: 2%;
}
.searchbar input:placeholder-shown{
font-size: 80%;
padding-left: 2.8%;
color: rgba(0, 0, 0, 0.473);
}
.searchbar button{
border-radius: 2%;
height: 45px;
width: 115px;
margin-left: 0%;
border: none;
font-size: 80%;
padding-left: 0%;
color: rgb(236, 236, 236);
background-color: orangered;
}
.searchbar button:hover{
background-color: rgb(26, 107, 228);
}
main{
padding-top: 5%;
}
main .row{
margin: 0% 3%;
}
.card img{
height: 45%;
}
.card{
height: 70%;
}
.card-text{
font-size: 75%;
}
.btn{
background-color: rgb(0, 132, 255);
border: 1px solid white;
}
a{
margin:0%;
padding:10%;
}
/* style for scroll up arrow */
#back2Top {
width: 40px;
line-height: 40px;
overflow:hidden;
/* z-index: 999; */
display: none;
cursor: pointer;
-moz-transform: rotate(270deg);
-webkit-transform: rotate(270deg);
-o-transform: rotate(270deg);
-ms-transform: rotate(270deg);
transform: rotate(270deg);
position: fixed;
bottom: 20%;
right: 0.5%;
background-color: #DDD;
color: rgb(228, 9, 9);
text-align: center;
font-size: 30px;
text-decoration: none;
}
#back2Top:hover {
background-color: #DDF;
color: #000;
}
/* for responsive website*/
@media only screen and (max-width: 600px) {
.active-links{
margin-left: 0%;
}
.searchbar{
margin: 15% 0%;
margin-left: 10%;
}
.searchbar input{
height: 40px;
width: 300px;
}
.searchbar button{
height: 40px;
width: 100px;
}
}