-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathgeneric.css
87 lines (74 loc) · 1.54 KB
/
generic.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
/*
Generic styling for things like buttons, input elements and
stuff like that.
*/
*{
border: none;
margin: 0px;
padding: 0px;
}
body{
font-size: 16px;
font-family: "Courier New", monospace;
}
h1{
display: inline-block;
}
h2{
font-size: 1em;
font-weight: normal;
}
p{
margin-bottom: 15px;
}
textarea,
div [contenteditable="true"]{
font-size: 14px;
border: 1px #DDDDDD solid;
outline: none;
background-color: #FFFFFF;
white-space: pre;
overflow-y: auto;
font-family: "Courier New", monospace;
box-sizing: border-box;
resize: none;
}
textarea:hover, textarea:active, textarea:focus,
div [contenteditable="true"]:hover, div [contenteditable="true"]:active, div [contenteditable="true"]:focus{
border-color: #AAAAAA;
}
button{
border: 1px #CCCCCC solid;
background-image: linear-gradient(to bottom, #FFFFFF, #F0F0F0);
padding: 3px 6px;
cursor: pointer;
outline: none;
height: 25px;
font-family: inherit;
}
button:hover{
border: 1px #DDDDDD solid;
background-color: #FFFFFF;
background-image: none;
}
button:active{
border: 1px #BBBBBB solid;
background-image: linear-gradient(to top, #FFFFFF, #EEEEEE);
}
input[type="text"],
input[type="number"]{
border: 1px #DDDDDD solid;
outline: none;
height: 15px;
padding: 2px;
font-family: "Courier New", monospace;
}
input[type="text"]:hover, input[type="text"]:active, input[type="text"]:focus,
input[type="number"]:hover, input[type="number"]:active, input[type="number"]:focus{
border-color: #AAAAAA;
}
hr{
border-top: 1px #888888 solid;
margin-top: 0px;
margin-bottom: 5px;
}