-
Notifications
You must be signed in to change notification settings - Fork 0
/
swapicss.css
106 lines (91 loc) · 1.62 KB
/
swapicss.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
body {
background-image: url(https://external-preview.redd.it/PbuVAkor8mt2UIOXmV3rJrz9ttoJnPfCKhID1i7IRyc.jpg?auto=webp&s=6623bd9774f2292b2c10f69ba2b1948f6cb26612);
color: black;
background-size: center;
background-repeat: no-repeat;
background-color: black;
}
h1 {
font-family: fantasy;
font-size: 4rem;
text-align: center;
text-shadow: 10px 10px 10px rgb(0, 0, 0);
color: gold;
}
li {
padding: 0.5%;
margin: 0.5%;
background-color: #eaeef5;
border: 2px solid #3576aa;
display: inline-block;
cursor: pointer;
color: black;
font-family: Arial;
font-size: 17px;
padding: 10px 60px;
text-decoration: none;
text-shadow: 0px 0px 12px #415a9e;
width: 60%;
height: 100%;
}
main {
display: flex;
flex-direction: row;
font-family: sans-serif;
font-size: 1rem;
margin: 3%;
height: 100%;
}
ul {
list-style: none;
text-align: center;
}
li:hover {
background-color: #66b1d3;
}
li:active {
position: relative;
top: 1px;
}
.nameList {
width: 30%;
}
header {
background-color: #000000;
padding: 2%;
background-blend-mode: color;
margin-left: 7%;
margin-right: 7%;
opacity: 90%;
color: white;
}
h2 {
text-align: center;
}
p {
text-align: center;
font-size: 1.5em;
}
.mainSection {
display: flex;
flex-direction: column;
width: 50%;
border-radius: 20px;
position: absolute;
margin-left: 40%;
}
.nameSection {
flex-direction: row;
}
.planetSection {
background-color: rgb(141, 185, 224);
border: solid 2px black;
margin-top: 2%;
}
.characterSection {
background-color: rgb(70, 97, 128);
border: solid 2px black;
}
button {
text-align: center;
}