-
Notifications
You must be signed in to change notification settings - Fork 4
/
style.css
123 lines (112 loc) · 2.03 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
*{
margin: 0;
padding: 0;
font-family: sans-serif;
}
.container{
width: 100%;
height: 100vh;
background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(images/Wallpaper.png);
background-position: center;
background-size: cover;
padding-left: 8%;
padding-right: 8%;
box-sizing: border-box;
}
.navbar{
height: 12%;
display: flex;
align-items: center;
}
.logo{
width: 100px;
cursor: pointer;
}
.menu-icon{
width: 30px;
cursor: pointer;
margin-left: 40px;
}
nav{
flex:1;
text-align: right;
}
nav ul li{
list-style: none;
display: inline-block;
margin-left: 60px;
}
nav ul li a{
text-decoration: none;
color: #fff;
font-size: 13px;
text-decoration: none;
}
.row{
display: flex;
height: 88%;
align-items: center;
}
.col{
flex-basis: 50%;
}
h3{
color: #fff;
font-size: 70px;
}
p{
color: #fff;
font-size: 20px;
line-height: 15px;
}
button{
width: 180px;
color: #000;
font-size: 12px;
padding: 12px 0;
border: 0;
border-radius: 20px;
outline: none;
margin-top: 30px;
}
.card{
width: 200px;
height: 230px;
display: inline-block;
border-radius: 10px;
padding: 15px 25px;
box-sizing: border-box;
cursor: pointer;
margin: 10px 15px;
background-position: center;
background-size: cover;
transition: transform 0.5;
}
.card1{
background-image: url(images/pic-1.png);
}
.card2{
background-image: url(images/pic-1.png);
}
.card3{
background-image: url(images/pic-2.png);
}
.card4{
background-image: url(images/pic-2.png);
}
.card:hover{
transform: translateY(-10px);
}
h4{
color: #fff;
font-size: 25px;
/*text-shadow: 0 0 5px #999;*/
}
.card p{
text-shadow: 0 0 15px #000;
font-size: 17px;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
a{
text-decoration: none;
}