-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
108 lines (103 loc) · 1.83 KB
/
style.css
File metadata and controls
108 lines (103 loc) · 1.83 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
*{
box-sizing: border-box;
margin:0;
}
body{
overflow-x: hidden;
}
h1{
font-family: 'Montserrat', sans-serif;
}
p,a{
font-family: 'Open Sans', sans-serif;
text-decoration: none;
color: black;
font-size: 1rem;
}
header{
display: flex;
justify-content: space-between;
align-items: center;
background-color: rgb(255, 255, 255);
min-height: 16vh;
}
.container{
padding: .5rem 1.5rem;
}
a img{
max-width: 2.5rem;
}
header button{
border: 0px;
background-color: unset;
}
#benner{
background-color: rgb(185, 29, 29);
background-image: url(./asset/benner.png);
background-repeat: no-repeat;
background-size: cover;
height: 84vh;
display: flex;
flex-direction: column;
justify-content: center;
text-align: right;
}
#benner h1{
color:white;
font-size: 2rem;
}
#benner p{
color:white;
}
#benner a{
color:white;
margin: 1rem 0rem;
padding: .2rem 1rem;
background-color: rgba(172, 34, 34, 0.774);
width: fit-content;
align-self: flex-end;
}
nav{
flex-direction: column;
display: flex;
background-color: white;
position: absolute;
width: 100%;
transform: translateX(100%);
transition: all .6s ease-in-out;
}
nav.slide{
transform: translateX(0%);
}
nav a{
padding: .8rem 0px;
}
#hamburger{
width: 60px;
height: 45px;
position: relative;
transform: rotate(0deg);
transition: .5s ease-in-out;
cursor: pointer;
}
#hamburger span{
display: block;
position: absolute;
height: 9px;
width: 100%;
background: #abcdee;
border-radius: 9px;
opacity: 1;
left: 0;
transform: rotate(0deg);
transition: .25s ease-in-out;
}
#hamburger span:nth-child(1){
top:0px;
}
#hamburger span:nth-child(2){
top:18px;
}
#hamburger span:nth-child(3){
top:36px
}