-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
155 lines (131 loc) · 2.44 KB
/
styles.css
File metadata and controls
155 lines (131 loc) · 2.44 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
145
146
147
148
149
150
151
152
153
154
155
body {
font-family: "Times New Roman", Georgia, Garamond;
background-color: #111;
}
/*image + text start here*/
.bg-img {
background-image: url("images/back.jpg");
min-height: 40vw;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
.bg-img h1 {
color: white;
padding: 1vw 0 0 4vw ;
letter-spacing: 0.5vw;
word-spacing: 0.3vw;
line-height: 1.2;
font: 5vw Copperplate, Papyrus, fantasy;
border-left: 1vw solid rgb(169,169,169,0.3);
background: rgb(190,190,190,0.3);
animation: fadeIn 5s;
}
@keyframes fadeIn {
0% { opacity: 0; }
100% { opacity: 1; }
}
span {
color: #A7171A;
}
/*image end here*/
/*navbar start here*/
.nav-custom .active {
color: #A7171A;
}
.nav-custom .not-active{
color: white;
}
.nav-custom .active:hover {
color: white;
background-color: #A7171A;
}
.nav-custom .not-active:hover {
color: #A7171A;
background-color: white;
}
/*navbar end here*/
h3 {
text-align: center;
color: #7393B3;
margin-top: 1vw;
font-size: 3vw;
}
.cards {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
grid-gap: 10vw;
margin: 2vw 4vw;
column-gap: 8vw;
row-gap: 5vw;
}
.card {
box-shadow: 3px 3px 6px rgba(255,255,255,0.3);
transition: 0.5s;
background-color: #111;
}
.card:hover {
box-shadow: 4px 5px 6px rgba(167,23,26,0.3);
}
.card img {
max-width: 100%;
}
.card h3, p {
text-align: center;
color: white;
padding: 0;
}
/*footer start here*/
footer {
display: flex;
justify-content: space-between;
border-top: 0.1vw solid grey;
align-items: center;
background-color: #111;
}
/*copyright*/
.watermark {
color: white;
}
/*media here*/
.fa:hover {
opacity: 0.7;
color: #A7171A;
background-color: #E5E4E2;
}
.fa {
padding: 0.9vw;
font-size: 9vw;
width: 3vw;
text-align: center;
text-decoration: none;
margin: 1vw 1.5vw;
border-radius: 50%;
color: black;
background-color: #A7171A;
}
/*navbar here*/
#bar {
font-size: 12px;
font-weight: bold;
}
#bar li {
text-align: center;
display: inline-block;
list-style-type: none;
color: white;
text-decoration: none;
padding: 1.1vw 2vw 0 2vw;
}
#bar li a {
color: inherit;
text-decoration: inherit;
}
#bar li:nth-child(odd) {
color: #A7171A;
}
#bar li:hover {
color: #C0C0C0;
}
/*footer ends here*/