-
Notifications
You must be signed in to change notification settings - Fork 0
/
Proyek PSW1.css
78 lines (77 loc) · 1.37 KB
/
Proyek PSW1.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
header{
background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(asrama.jpg);
height: 100vh;
background-size: cover;
background-position: center;
}
ul{
list-style-type: none;
float: right;
margin-top: 20px;
}
ul li{
display: inline-block;
}
ul li a{
text-decoration: none;
color: whitesmoke;
padding: 5px 20px;
border: 1px solid transparent;
}
ul li a:hover{
background-color: whitesmoke;
color: black;
}
ul li.active a{
background-color: whitesmoke;
color: black;
}
*{
margin: 0px;
padding: 0px;
font-family: century gothic;
}
.main{
max-width: 1200px;
margin: auto;
}
.title{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
}
.title h1{
color: whitesmoke;
font-size: 55px;
text-decoration: underline;
}
.button{
position: absolute;
padding-left: 30px;
top: 65%;
left: 50%;
color: whitesmoke;
transform: translate(-50%,-50%);
}
.btn{
border: 2px solid whitesmoke;
padding: 10px 20px;
color: whitesmoke;
text-decoration: none;
}
.button .btn1{
border: 2px solid whitesmoke;
padding: 10px 20px;
color: whitesmoke;
text-decoration: none;
margin-left: 50px;
}
.btn1:hover{
background-color: whitesmoke;
color: black;
}
.btn:hover{
background-color: whitesmoke;
color: black;
}