-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathOurstyle.css
75 lines (64 loc) · 1.22 KB
/
Ourstyle.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
.ourService{
flex-direction: column;
height: 60%;
/* background: none; */
margin: 0;
align-items: flex-start;
}
.card{
height: 100%;
background-size: cover;
background-position:center;
width: 100%;
font-size: 50px;
color: white;
box-shadow: 0 0 30px rgba(0, 0, 0, 0.459);
}
.card .header{
top: 30%;
}
.card .description{
font-size: 15px;
width: 100%;
}
.container{
width: 100%;
position: relative;
margin-bottom: 30px;
height: 40vh;
display: flex;
justify-content: space-around;
align-items: center;
}
@media only screen and (max-width: 769px){
.card{
font-size: 25px;
}
.card .header{
top: 25%;
}
}
@media only screen and (max-width:526px){
.OtherNavItems{
display: none;
}
.menu{
/* position: absolute;
top: 70%;
left: 50%;
transform: translate(-50%,-70%); */
}
.menu div{
margin-bottom: 5px;
width: 30px;
height: 3px;
border-radius: 15%;
background-color: #fff;
}
.container{
flex-direction: column;
margin: 0;
height: 100vh;
width: 100%;
}
}