-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathedge.css
More file actions
107 lines (96 loc) · 2.2 KB
/
edge.css
File metadata and controls
107 lines (96 loc) · 2.2 KB
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
/******************************************************************************
The style rules in this sheet apply to the edge version of the published site
******************************************************************************/
/* Our default values set as CSS variables */
:root {
--color-bg: #25201e;
--color-bg-alt: #d0ff00;
--color-text-main: #f4eeec;
--wrapper-height: 100vh;
--image-max-width: 300px;
--image-margin: 3rem;
--font-family: sans-serif;
--color-header: #d0ff00;
}
/* Basic page style resets */
* {
box-sizing: border-box;
}
[hidden] {
display: none !important;
}
body {
font-family: var(--font-family);
background-color: var(--color-bg);
margin:auto;
color: var(--color-text-main);
font-size:large;
padding:1rem;
max-width:800px;
text-align:center;
}
/* Very light scaling for our illustration */
.title, h1 {
color: var(--color-header);
font-family: var(--font-family);
font-size: 2.6rem;
font-weight:600;
margin:1rem;
}
/* ⚠️ Location indicator ⚠️ */
location-indicator {
font-weight:bold;
}
/* 🚨 Hide content with "origin" class name at the edge 🚨 */
.origin {
display:none;
}
p {
margin-top:0.5em;
margin-bottom:0.5em;
}
a:link,
a:visited {
text-decoration:none;
color:var(--color-header);
}
a:hover {
color:black;
background-color:var(--color-bg-alt);
text-decoration:underline;
}
p, ul {
max-width:700px;
margin:1rem auto;
}
.avatar {
width: 10rem;
height: 10rem;
margin:auto;
background-image: url("production-site.svg");
background-repeat:no-repeat;
background-size:contain;
}
.footer {
display: flex;
justify-content: space-between;
margin: 1rem auto 0;
padding: 1.5rem;
width: 100%;
flex-wrap: wrap;
display: flex;
justify-content: flex-end;
}
a.remix {
background-color: var(--color-bg-alt);
border: 2px solid var(--color-text-main);
border-radius: 5px;
padding:0.5rem;
font-weight:bold;
color: var(--color-bg);
text-decoration:none;
}
a.remix:hover {
background: var(--color-text-main);
color:var(--color-bg);
}