-
Notifications
You must be signed in to change notification settings - Fork 1
/
app.css
106 lines (104 loc) · 1.72 KB
/
app.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
/*@import url(http://fonts.googleapis.com/css?family=Ubuntu:300,400,700);*/
@import url(source-sans/source-sans-pro.css);
body, .programInput, input {
font-family: "Source Sans Pro", sans-serif;
font-weight: 300;
font-size: 24px;
color: #454545;
line-height: 34px;
margin: 0px;
}
.col {
background-color: #8eaeca;
border: 1px solid #ccc;
float: left;
/*height: 500px;*/
padding: 8px;
position: relative;
}
@media (min-width: 1000px) {
.col {
width: 48%;
}
}
@media (min-width: 650px) {
.col {
width: 36%;
}
}
.col {
/*width: 50%;*/
}
.programInput {
border: none;
margin: 8px;
width: 95%;
height: 450px;
}
.programInput div {
white-space: nowrap;
}
.programInput span {
width: 16px;
display: inline-block;
opacity: 0.4;
border-right: 1px solid #ccc;
margin-right: 1em;
}
.programInput input {
width: 350px;
background: inherit;
border: none;
}
.programInput input:focus {
outline: none;
}
#result {
color: #333;
padding: 15px 15px;
font-weight: normal;
}
#result span {
background-color: transparent;
display: block;
transition: background-color 0.25s;
}
#result span:hover, #result span.hl{
background-color: #b5dbf7;
transition: background-color 0.25s;
}
hr {
margin-top: 3em;
}
#sum {
/*position: absolute;*/
bottom: 4px;
color: #666;
padding-left: 15px;
}
#sum:before {
content: "Sum: ";
}
#sum {
opacity: 0;
transition: opacity 0.25s;
}
.cells {
margin-top: 3em;
font-size: 16px;
}
.cells span.cell {
padding: 0px 12px;
margin: 4px;
background: #114;
color: #8eaeca;
border-radius: 24px;
display: inline-block;
}
.program h2 {
font-size: 12px;
line-height: 18px;
background: #fff;
padding: 0px 12px;
border-radius: 24px;
}