-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.css
98 lines (81 loc) · 1.38 KB
/
main.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
*{
font-family:sans-serif;
box-sizing: border-box;
}
html{
font-size: calc(1em * .625);
font-family: sans-serif;
scroll-behavior: smooth;
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
text-rendering: optimizeLegibility;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%;
}
body{
font-size:1.6rem;
padding:1rem;
margin:0;
position:relative;
}
body:before{
content: "";
position:fixed;
top:0;
left:0;
width:100%;
height: 100vh;
z-index:-1;
background-image: linear-gradient(135deg, #ff4e7f 0%, #e47119 100%);
}
main{
background-color:rgba(255,255,255,.6);
padding:1rem;
border: .2rem solid #FFF;
}
h1{
margin: 0 0 .5rem;
font-size:2rem;
}
table{
border: .1rem solid black;
width:100%;
border-collapse: collapse;
}
tr{
border: .1rem solid #444;
background-color:white;
}
tr:nth-child(even){
background-color: #e6e6e6;
}
th,td{
padding: .5rem;
text-align:left;
}
th{
text-transform:capitalize;
}
caption{
text-align:left;
margin: .5rem 0;
}
/**/
nav {
display: flex;
}
#filterSearch {
height: 48px;
}
#filterFavorite {
display: none;
}
#filterFavorite + label {
filter: grayscale(100);
}
#filterFavorite:checked + label {
filter: grayscale(0);
}
.grayscale {
filter: grayscale(100);
}