forked from minbrowser/min
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpagebase.css
78 lines (75 loc) · 1.35 KB
/
pagebase.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
body,
html {
width: 100%;
height: 100%;
padding: 0;
margin: 0;
box-sizing: border-box;
font-family: ".SFNSText-Regular", 'Helvetica Neue', 'Arial', sans-serif;
background-color: #eee;
}
/* TODO figure out why the default focus color in Electron is orange */
*:focus {
outline-color: rgb(0, 117, 255);
}
.dark-mode *:focus {
outline-color: transparent;
}
body.dark-mode {
background-color: rgb(33, 37, 43);
color: lightgrey
}
#page-wrapper {
width: auto;
height: auto;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 600px;
}
h1 {
font-size: 2.75em;
font-family: ".SFNSDisplay-Light", 'Helvetica Neue', 'Arial', sans-serif;
font-weight: normal;
margin-bottom: 0.25em;
margin-top: 0;
}
h2 {
font-size: 1.15em;
font-weight: normal;
margin-top: 0;
}
button {
-webkit-appearance: none;
color: inherit;
font-size: 1.1em;
padding: 0.5em 1em;
border: 0;
background-color: rgba(0, 0, 0, 0.1);
margin-top: 0.5em;
}
button.secondary-button {
padding: 0.5em;
margin-left: -0.5em;
margin-right: 2em;
transition: 0.1s;
background: none;
opacity: 0.6;
text-decoration: underline;
}
button.secondary-button:hover {
opacity: 0.8;
background: rgba(0, 0, 0, 0.05);
cursor: pointer;
}
button.secondary-button {
float: left;
}
button.primary-button {
float: right;
}
a {
color: royalblue;
text-decoration: none;
}