-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.css
78 lines (71 loc) · 1.23 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
/* Page Layout */
body {
font-family: OpenSans, Arial;
color: #555;
margin: 0;
}
h1 {
text-align: center;
background: #f5f5f5;
padding: 1rem;
box-shadow: 0 0 3px rgba(0, 0, 0, .3);
}
article {
max-width: 1200px;
margin: 5rem auto;
padding-bottom: 5rem;
border-bottom: 1px solid #999;
gap: 1rem;
}
article > section {
background-color: #f5f5f5;
padding: 2rem;
box-shadow: 1px 1px 3px rgba(0, 0, 0, .3);
}
article p {
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px dotted #ccc;
}
/* Used within components */
button {
background-color: #2a85d2;
border-radius: 5px;
border: none;
color: white;
font-size: 3rem;
text-align: center;
padding: 0 1rem;
cursor: pointer;
}
button.reset {
font-size: 1rem;
margin-left: 5rem;
}
progress {
display: block;
width: 100%;
}
/* Only reference span within the component, not in the HTML page */
:host(x-counter) span {
display: inline-block;
font-size: 2rem;
padding: 2rem;
width: 50px;
text-align: right;
}
/* code embedded */
.emgithub-container {
margin: 0 !important;
}
@media screen and (min-width: 1200px) {
article {
display: flex;
}
article > section {
width: 50%;
}
article > aside {
width: 50%;
}
}