-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
112 lines (109 loc) · 1.98 KB
/
style.css
File metadata and controls
112 lines (109 loc) · 1.98 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
109
110
111
112
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:wght@700&display=swap');
:root{
--white: white;
}
body{
background-image: url(bg.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position: center;
margin: 0;
overflow: hidden;
display: grid;
}
.search{
position: relative;
width: 60%;
margin-top: 20px;
}
.main{
margin: 0;
width: 100%;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
margin-top: 50px;
}
.main img{
width: 150px;
margin-bottom: 8px;
}
.menu{
margin: 0;
padding: 0;
display: flex;
justify-content: center;
list-style-type: none;
}
.info{
position: sticky;
top: 0;
color: var(--white);
font-family: 'Libre Baskerville', serif;
font-size: 18px;
margin: 10px;
}
.harga{
display: flex;
flex-direction: row;
}
#close:hover{
transform:scale(0.8);
}
.comp{
color: white;
display: flex;
flex-direction: row;
position: absolute;
right: 0;
bottom: 0;
margin-right:10px;
}
.comp #os{
margin-right: 5px;
}
@media (min-width: 768px) and (max-width: 1024px) {
.search{
width: 95%;
height: 50%;
}
.main img{
margin-top: 5%;
}
.info{
font-size: 18px;
}
.form-control::placeholder{
font-size: 18px;
}
}
@media screen and (max-width: 768px) {
.search{
width: 95%;
}
.section2{
flex-direction: column;
}
.main img{
margin-top:10%;
}
}
@media screen and (max-width: 768px) and (orientation: landscape) {
.search{
width: 95%;
}
.section2{
flex-direction: column;
}
.main{
margin-top:0;
}
.main img{
margin-top:0;
width: 140px;
}
.info{
margin-bottom:0px;
}
}