-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
127 lines (105 loc) · 2.09 KB
/
styles.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
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400&family=Poppins:ital,wght@1,300&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Kaanit', sans-serif;
}
body {
height: 100vh;
background: #00416A;
background: -webkit-linear-gradient(to left, #E4E5E6, #00416A);
background: linear-gradient(to left, #E4E5E6, #00416A);
}
.container {
font-size: 16px;
width: 90vw;
max-width: 37.5em;
padding: 3em 1.8em;
background-color: #334d50;
position: absolute;
transform: translate(-50%, -50%);
top: 50%;
left: 50%;
border-radius: 0.6em;
box-shadow: 1.2em 2em 3em rgba(0, 0, 0, 0.5);
}
.search-container{
display: grid;
grid-template-columns: 9fr 3fr;
gap: 1.2em;
}
.search-container input, .search-container button{
font-size: 1.1em;
font-weight: bolder;
outline: none;
border-radius: 0.3em;
}
.search-container input{
background-color: transparent;
border: 1px solid #a0a0a0;
color: #fff;
padding: 0.7em;
}
.search-container input:focus{
border-color: #fff;
}
.search-container button{
background-color: #00416A;
color: #fff;
border-color: #a0a0a0;
cursor: pointer;
}
.search-container button:focus{
border-color: #fff;
}
#result{
color: #fff;
}
.info{
position: relative;
display: grid;
grid-template-columns: 4fr 8fr;
margin-top: 1.2em;
}
.poster{
width: 100%;
}
h2{
text-align: center;
font-size: 1.5em;
font-weight: 600;
letter-spacing: 0.06em;
}
.ratin{
display: flex;
align-items: center;
justify-content: center;
gap: 0.6em;
margin: 0.6em 0 0.9em 0;
}
.ratin img{
width: 1.2em;
}
.ratin h4{
display: inline-block;
font-size: 1.1em;
font-weight: 500;
}
.details{
display: flex;
font-size: 0.95em;
gap: 1em;
justify-content: center;
color: #a0a0a0;
margin: 0.6em 0;
font-weight: 300;
}
.genre{
display: flex;
justify-content: space-around;
}
.genre div{
border: 1px solid #a0a0a0;
font-size: 0.75em;
}