-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
110 lines (108 loc) · 1.87 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
*{
margin: 0;
padding: 0;
font-family: Acme,sans-serif;
box-sizing: border-box;
}
body{
height: 100vh;
width: 100%;
}
.navbar{
position: sticky;
height: 20%;
display: flex;
padding: 10px 5vh;
align-items: center;
background-color: #fff;
box-shadow: 0 4px 2px -2px rgba(0,0,0,.2);
}
.navbar h2{
font-size: 32px;
color: rgba(0,0,0,.6);
cursor: pointer;
margin-left: 5vh;
}
.navbar h2 span{
color: #ff004f;
}
nav{
flex: 1;
text-align: right;
}
nav ul li{
list-style: none;
display: inline-block;
}
nav ul li a{
text-decoration: none;
color: rgba(0,0,0,.6);
font-size: 17px;
margin-right: 50px;
position: relative;
}
nav ul li a::after{
content: '';
width: 0;
height: 3px;
background: #ff004f;
position: absolute;
left: 0;
bottom: -6px;
transition: 0.3s;
}
nav ul li a:hover::after{
width: 100%;
}
nav ul li a:hover{
color: #ff004f;
}
.active::after{
width: 100%;
color: #ff004f;
}
#home{
height: 100%;
width: 100%;
background-image: url(img/bg-image.jpg);
background-repeat: no-repeat;
background-size: cover;
position: relative;
}
.text1{
position: absolute;
margin-top: 15%;
margin-left: 50px;
width: 40%;
color: #fff;
font-size: 25px;
}
#donate{
position: absolute;
margin-top: 21%;
margin-left: 250px;
}
#about{
margin-top: 40px;
margin-left: 15%;
margin-right: 15%;
}
#about h2{
margin-bottom: 15px;
}
#about h2 span{
text-decoration: underline;
text-decoration-color: #ff004f;
text-decoration-thickness:5px;
}
.card{
height: 150%;
}
#contact{
margin-top: 180px;
margin-left: 30%;
margin-right: 30%;
}
footer{
margin-top: 25px;
}