-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
136 lines (114 loc) · 2.25 KB
/
styles.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
/* set defaults */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Lato', sans-serif;
}
/* button reset, thanks to: http://code.stephenmorley.org/html-and-css/styling-buttons-with-css3/ */
button{
margin : 0;
padding : 0;
border : 0;
background : transparent;
font-family : inherit;
font-size : 1em;
cursor : pointer;
}
button::-moz-focus-inner{
padding : 0;
border : 0;
}
/* main */
body {
background-color: rgb(0%, 0%, 0%);
font-family: 'Lato';
}
.main {
box-shadow: 0px 0px 4px 10px aliceblue;
background-color: aliceblue;
margin: 50px auto;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
width: 310px;
}
#screen {
width: 308px;
height: 90px;
padding: 20px 4px;
font-size: 39px;
text-align: right;
background-color:rgb(100%, 100%, 100%);
caret-color: rgb(100%, 100%, 100%);
}
#screen, .button {
margin: 1px;
}
#screen:focus {
outline: none;
}
textarea:focus, input:focus{
outline: none;
}
.buttons {
position: relative;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
}
.button {
width: calc(302px/4);
height: calc(306px/4);
font-size: 38px;
text-align: center;
background-color: rgb(96.1%, 96.1%, 96.1%);
box-shadow: inset 0px 0px 11px 0px lightgrey;
cursor: pointer;
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center;
}
.danger {
background-color: rgb(92.1%, 90.6%, 90.6%);
}
.expand-width {
width: calc(calc(306px/4)*2);
}
.expand-height {
height: calc(calc(310px/4)*2);
}
.move-up {
position: absolute;
bottom: 0;
}
.ios-position-bugfix {
left:0;
}
.move-left {
right: calc(310px/4);
}
.js-color {
width: 100px;
height: 66px;
}
.color-picker-button {
width: calc(302px/4);
height: calc(306px/2);
font-size: 19px;
}
#color-picker > p {
padding: 10px;
width: 100%;
text-align: center;
}