-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
87 lines (85 loc) · 1.43 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
@font-face {
font-family: "font-1";
src: url(./assets/LibreBaskerville-Regular.ttf);
}
* {
list-style-type: none;
}
body {
background: black;
color: white;
text-align: center;
font-family: "font-1", cursive;
}
h1 {
font-size: 3rem;
letter-spacing: 3px;
margin: 40px 10px 40px;
}
input {
border: none;
border-radius: 25px 25px 0 0;
outline: none;
text-align: center;
font-size: 1.2rem;
cursor: pointer;
font-family: "font-1", cursive;
margin: 3px 0px;
width: 300px;
padding: 10px 0px;
}
input::placeholder {
text-align: center;
font-size: 1.2rem;
}
input[type="submit"] {
border-radius: 0 0 25px 25px;
background: rgb(177, 176, 176);
transition: 0.3s ease;
cursor: pointer;
}
input[type="submit"]:hover {
background: rgb(46, 46, 46);
color: white;
letter-spacing: 1px;
}
img {
object-fit: cover;
width: 40%;
max-width: 250px;
}
.result-container {
margin: 0 auto;
}
ul {
display: flex;
flex-wrap: wrap;
padding: 0;
margin: auto;
max-width: 1400px;
}
li {
max-width: 400px;
border: 2px solid rgb(206, 206, 206);
border-radius: 10px;
padding: 20px;
margin: 10px;
}
h2 {
margin: 10px 0 25px;
}
.card-content {
display: grid;
grid-template-columns: 40% 60%;
}
.card-content img {
width: 90%;
border-radius: 5px;
box-shadow: -3px 3px 10px 3px #242323;
}
.card-content p {
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 7;
overflow: hidden;
}