-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
94 lines (89 loc) · 1.57 KB
/
index.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
body{
font-family: Varela,"Segoe UI","Helvetica Neue",Arial;
margin: 0;
}
body > div{
text-align: center;
display: none;
}
body > div.not-hidden{
display: block !important;
}
#main{
text-align:left;
}
a{
font-size: 1.25em;
}
.pokemon{
display: inline-grid;
cursor: pointer;
grid-template:
"a b"
"c c";
padding: 5px;
width: 9em;
margin: 0.25em;
border: 1px solid rgb(220, 231, 220);
border-radius: 10px;
cursor: pointer;
height: 7em;
position: relative;
/* font-size: 0.8em; */
}
.pokemon img{
margin: auto;
grid-area: c;
}
.main h1>button,.main #barra{
display: none;
}
header{
position: sticky;top:0;
background:white;
z-index: 1;
padding-bottom: 0.2rem;
display: grid;grid-template: "a a" "b c" / 1fr;
}
header > span{
margin: auto;
margin-right: .5rem;
}
h1{
display: flex;
-webkit-box-align: center;
align-items: center;
background-color: rgb(68, 91, 161);
color: white;
margin: 0px;
padding: 0px;
font-size: 1.5em;
text-align: center;
grid-area: a;
}
h1 > span{
flex-grow: 2;
margin: 0.4em 0px;
}
button{
background: none;
border: none;
filter: invert(100%) sepia(0%) saturate(109%) hue-rotate(329deg) brightness(105%) contrast(102%);
height: 3em;
width: 4em;
}
button > img{
height: 2.5rem;
}
#barra{
display: block;
height: 25px;
border: 1px solid gray;
border-radius: 5px;
margin: 0.6em 0.5em 0;
}
#barra-contenido{
height: 100%;
background: red;
width: 0;
}