-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
primerpedia.css
156 lines (130 loc) · 3.14 KB
/
primerpedia.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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
html {
font-size: 16px;
}
body {
min-width: 280px;
line-height: 1.5;
font-family: sans-serif;
}
body, h2, .error {
text-align: center;
}
#notification {
position: fixed;
top: 0;
left: 0;
width: 100%;
padding: 0.5em 1em;
box-sizing: border-box;
}
#notification.information {
background-color: LightGreen;
}
#notification-content {
color: initial;
}
#controls, #content, #article-title {
margin: 0.5em auto;
width: 80%;
max-width: 1000px;
}
#content {
text-align: left;
}
h1 > a, h1 > a:visited {
font-family: 'Squada One', sans-serif;
font-weight: normal;
font-size: 1.5em;
line-height: 0.5em;
text-decoration: none;
color: black;
}
h2 {
padding: 0.2em;
background: #D0EDFB;
border-radius: 5px;
overflow: auto; /* to keep it always wrapped around the floated edit button */
}
form input {
margin: 1%;
padding: .3em .5em;
border: 1px solid silver;
border-radius: .3em;
box-sizing: padding-box; /* harmonize box model of text input and buttons */
}
#language {
width: 4em;
}
#loading-spinner {
display: block;
margin: 2.5em auto;
width: 4em;
}
a {
color: DodgerBlue;
font-family: sans-serif;
text-decoration: none; /* don't underline by default */
}
a:hover {
text-decoration: underline; /* do underline when hovering */
}
a:visited {
color: DarkSlateBlue;
}
a:active {
outline: none; /* don't show the dotted border on a clicked link */
}
a.actionlink {
display: inline-block;
/* shape */
padding: 0.5em 1em;
line-height: 0.5;
/* appearance */
background-color: #7fbf4d;
background: linear-gradient(to bottom, #7fbf4d 0%, #63a62f 100%);
border: 1px solid #63a62f;
border-radius: 3px;
box-shadow: inset 0 1px 0 0 #a8cc8f;
/* text */
color: white;
font-weight: normal; /* override the default (bold), inherited from h2 */
text-shadow: 0 -1px 0 #4c9021;
transform: scaleX(-1); /* There's no unicode character for a */
-webkit-transform: scaleX(-1); /* pencil pointing down-left, so use the */
/* one pointing down-right and mirror it */
}
a.actionlink:hover {
background-color: #76b347;
background: linear-gradient(to bottom, #76b347 0%, #5e9e2e 100%);
box-shadow: inset 0 1px 0 0 #8dbf67;
text-decoration: none;
}
a.actionlink:active {
border: 1px solid #5b992b;
border-bottom: 1px solid #538c27;
box-shadow: inset 0 0 8px 4px #548c29, 0 1px 0 0 #eeeeee;
}
div.actionlink-container {
float: right;
}
input[type=search], input[type=submit], input[type=button], input[type=text] {
font-size: inherit;
}
#footer a:hover { /* prevent underline from appearing */
text-decoration: none; /* under the whitespace between the links */
} /* caused from the code indentation */
object {
pointer-events: none; /* allow clicking on the link that wraps the svg */
}
.error {
font-size: small;
color: gray;
}
a#copysharelink {
cursor: pointer;
}
@media (min-width: 600px) {
html {
font-size: calc(13px + 0.5vw);
}
}