forked from simonlc/tetr.js
-
Notifications
You must be signed in to change notification settings - Fork 27
/
ui.css
93 lines (92 loc) · 2 KB
/
ui.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
@font-face {
font-family: 'Material Icons';
font-style: normal;
font-weight: 400;
src: local('Material Icons'), local('MaterialIcons-Regular'), url(MaterialIcons-Regular.woff) format('woff');
}
.material-icons {
font-family: 'Material Icons';
font-weight: normal;
font-style: normal;
font-size: 24px;
line-height: 1;
letter-spacing: normal;
text-transform: none;
display: inline-block;
white-space: nowrap;
word-wrap: normal;
direction: ltr;
-webkit-font-feature-settings: 'liga';
-webkit-font-smoothing: antialiased;
}
i.material-icons {
font-family: 'Material Icons';
font-size: 1em;
direction: ltr;
display: inline-block;
padding-top: .25rem;
vertical-align: top;
/* Support for all WebKit browsers. */
-webkit-font-smoothing: antialiased;
/* Support for Safari and Chrome. */
text-rendering: optimizeLegibility;
/* Support for Firefox. */
-moz-osx-font-smoothing: grayscale;
/* Support for IE. */
font-feature-settings: 'liga';
pointer-events: none;
}
a.link {
text-decoration: underline;
}
a.btn {
display: block;
padding: 0.3rem 0.6rem 0.4rem;
margin: 1em auto;
width: 70%;
height: 1.4rem;
border: .125rem solid #ccc;
border-radius: .3rem;
font-size: 1rem;
font-family: 'Trebuchet MS', 'Hiragino Sans GB', 'Microsoft Yahei', sans-serif;
font-weight: bold;
line-height: 1.6rem;
color: #FFF;
background-color: #000;
cursor: pointer;
transition: background-color .5s ease;
}
a.btn:hover {
background-color: #222;
transition: background-color .1s ease;
}
a.btn.highlight {
box-shadow: 0 0 .5rem #fff;
}
a.btn.btn-inline {
display: inline-block;
margin: 0 0.5rem;
}
div.btn-container {
margin: 1rem auto;
}
div.btn-container.btn-container-bottom {
position: absolute;
width: 100%;
bottom: 0;
}
div.btn-container.btn-container-bottom > a.btn:not(.btn-inline) {
margin: .7em auto;
}
#msg {
text-shadow: #000 0 0 10px;
}
textarea {
resize: none;
}
textarea:focus {
outline-color: #BFB;
}
#settings > div {
margin: 0.3em 0;
}