-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathresponsiv.css
86 lines (69 loc) · 1.35 KB
/
responsiv.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
/* TABLET SIZE */
@media screen and (max-width: 768px) {
nav ul {
width: 50%;
}
}
/* MOBILE SIZE */
@media screen and (max-width: 576px) {
.menu-toggle {
display: flex;
}
nav ul {
font-size: 20px;
position: absolute;
right: 0;
top: 0;
width: 50%;
height: 107vh;
flex-direction: column;
justify-content: space-evenly;
align-items: center;
z-index: 0.5;
background-color: #dcdcdc;
transform: translateX(100%);
transition: all 1s;
opacity: 0;
}
nav ul.slide {
opacity: 1;
transform: translateX(0);
}
header .hero {
height: 80%;
}
h2 {
font-size: 2em;
padding-left: 30px;
padding-bottom: 150px;
letter-spacing: 1px;
}
/* content */
.judul-deskripsi {
font-size: 1.5em;
}
.deskripsi {
font-size: 1em;
padding-top: 10px;
}
.judul-menu {
font-size: 2em;
}
.content {
font-size: 1em;
}
.content-2 {
font-size: 1em;
}
.content .nama-menu {
font-size: 1.3em;
}
.content-2 .nama-menu {
font-size: 1.3em;
}
/* content card */
.judul-card {
font-size: 2em;
margin-top: 80px;
}
}