-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
97 lines (92 loc) · 1.48 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
88
89
90
91
92
93
94
95
96
97
:root{
--bg: #023d3a;
}
body{
margin:0;
background-color: var(--bg);
color: white;
font-size: 24px;
font-family: "Yatra One", serif;
font-optical-sizing: auto;
}
a, a:visited, a:link, a:focus{
color:white;
}
a:hover{
color:powderblue;
}
body > button{
position:fixed;
bottom:15px;
right:15px;
}
#about{
position:fixed;
top:0;
text-decoration: none;
right:0;
background-color: var(--bg);
padding:10px 15px;
}
img{
filter:invert(1);
max-height:60vh;
}
img.chart{
max-height: 50vh;
}
main{
margin: 24px;
}
h2{
font-weight: normal;
}
input{
font-size: 24px;
padding: 3px 5px;
max-width: calc(100% - 50px);
margin-top:24px;
color:white;
text-transform: lowercase;
background-color: var(--bg);
border:1px dotted white;
position:relative;
font-family: inherit;
z-index: 1;
}
button{
background-color: var(--bg);
color:white;
border:1px dotted white;
padding: 3px 10px;
font-size: 24px;
font-family: inherit;
position:relative;
z-index: 1;
cursor: pointer;
}
button:hover{
color:powderblue;
}
canvas{
display: block;
z-index: 0;
margin:0 auto;
}
#nav-about{
display: flex;
width: 100%;
margin-bottom: 50px;
justify-content: space-between;
}
@media(max-width: 768px){
canvas{
margin-top:24px;
}
main{
margin-top:45px;
}
#nav-about{
flex-direction: column;
}
}