-
Notifications
You must be signed in to change notification settings - Fork 0
/
contact.css
66 lines (65 loc) · 1.14 KB
/
contact.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
body{
margin: 0;
padding: 0;
background: #efefef;
font-size: 16px;
color: whitesmoke;
font-weight: bold;
font-family: sans-serif;
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;
}
.contact {
color: white;
}
.contact1 {
width: 20%;
margin-top: 5%;
border-radius: 1%;
height: 200px;
}
.contact2 {
margin-left: 4%;
}
div.contact2 {
border: 3px solid #ccc;
}
div.contact2:hover {
border: 4px solid peru;
}
div.contact2 img {
width: 100%;
height: auto;
}
div.desc {
padding: 15px;
text-align: center;
}
* {
box-sizing: border-box;
}
.responsive {
padding: 0 6px;
float: left;
width: 20%;
}
.kaki{
background-color: rgb(0, 0, 0);
color: white;
text-align: center;
height: 40px;
padding-top: 10px;
font-weight: bold;
}
@media only screen and (max-width: 700px){
.responsive {
width: 49.99999%;
margin: 6px 0;
}
}
@media only screen and (max-width: 500px){
.responsive {
width: 100%;
}