-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
137 lines (116 loc) · 1.89 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
html, body {
min-height: 100vh;
margin: 0;
}
body {
min-width: min-content;
font: 100% Helvetica, sans-serif;
background: #263940;
display: flex;
flex-direction: column;
}
a {
color: #638d9f;
}
.header {
background: #fafafa;
padding: 0 1rem;
}
.header h1 {
color: #603;
font-size: 1rem;
font-weight: lighter;
letter-spacing: 0.05em;
}
#search-container {
position: absolute;
top: 96px;
left: 280px;
display: flex;
align-items: center;
}
#search-any {
width: 65px;
height: 22px;
margin-left: 20px;
padding-bottom: 2px;
border-radius: 2px;
background: transparent;
border: 1px solid white;
color: white;
cursor: pointer;
outline: none;
}
#search-any:hover, #search-any:focus {
background: rgba(255,255,255, 0.8);
color: black;
transition: all 200ms ease;
}
#search-input {
padding: 6px 8px 3px 8px;
width: 300px;
font-size: 1.4rem;
color: white;
background: none;
border: none;
border-bottom: 1px solid rgba(255,255,255,0.3);
outline: none;
}
#search-input:hover {
background: rgba(255,255,255, 0.1);
}
.no-events {
pointer-events: none;
}
#dataviz {
margin: 2rem 4rem 1rem 4rem;
}
.legend-title {
font-size: 1rem;
fill: white;
letter-spacing: 1px;
}
.drink-types {
font-size: 1.2rem;
}
.pie-total-label {
fill: white;
font-style: italic;
}
.pie-total-number {
fill: white;
font-weight: bold;
}
.favorite-text {
font-size: 1.6rem;
}
.legendColor .label {
fill: #fafafa;
}
.axis-title {
fill: rgba(0,0,0, 1);
font-size: 0.8rem;
}
.tick line {
stroke: rgba(255, 255, 255, 0.1);
}
.tick text {
fill: rgba(255,255,255,0.9);
font-size: 0.7rem;
}
.domain {
stroke: none;
}
.footer {
background: #fafafa;
padding: 0 1rem;
margin-top: auto;
justify-self: flex-end;
display: flex;
justify-content: space-between;
}
.footer p {
color: #603;
font-size: 0.8rem;
letter-spacing: 0.05em;
}