-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle-old.css
107 lines (105 loc) · 1.99 KB
/
style-old.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
* {
padding: 0;
margin: 0;
box-sizing: border-box;
}
body{
background-color: red;
}
.marvelHeroContainer {
background-color: black;
width: 90%;
max-width: 500px;
margin: 0 auto;
padding: 3em 2em;
position: absolute;
transform: translateX(-50%);
left: 50%;
right: 50%;
top: 2em;
border-radius: 1em;
}
.marvelInputHeroContainer {
display: grid;
grid-template-columns: 9fr 3fr;
gap: 1em;
}
.marvelInputBox {
padding: 1em 0.5em;
background-color: gray;
color: white;
border: none;
border-radius: 0.5em;
outline: none;
}
.marvelButton {
outline: none;
border: none;
background-color: red;
color: white;
border-radius: 0.5em;
}
.marvelDisplayContainer {
padding: 1em;
}
.marvelCharacterImageContainer {
background-color: white;
padding: 0.3em;
height: 10em;
width: 10em;
display: block;
margin: auto;
border-radius: 50%;
}
.marvelCharacterImageContainer img{
width: 100%;
position: relative;
width: block;
border-radius: 50%;
}
.marvelCharacterName {
padding: 1em 0 2em 0;
color: white;
text-transform: uppercase;
font-size: 1.3em;
font-weight: 700;
}
.marvelCharacterDescription {
text-align: justify;
color: white;
line-height: 2em;
font-weight: 400;
}
.marvelList {
position: absolute;
width: 63%;
background-color: grey;
color: white;
overflow-y: scroll;
z-index: 1;
}
.marvelAutoCompleteItems {
padding: 0.5em;
}
.marvelAutoCompleteItems:hover {
background-color: white;
color: black;
}
.marvelComicsContainer{
display: flex;
padding: 1em;
gap: 15px;
height: 180px;
margin: 5px;
}
.marvelComicsDisplay0, .marvelComicsDisplay1,.marvelComicsDisplay2{
display: inline-block;
width: 30%;
background-color: gray;
margin: 5px;
}
.marvelComicsDisplay0 img, .marvelComicsDisplay1 img,.marvelComicsDisplay2 img{
width: 100%;
position: relative;
width: block;
}