-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathstyle.css
124 lines (120 loc) · 2.16 KB
/
style.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
@font-face {
font-family: "Iosevka";
src: url("iosevka-regular.ttf") format("truetype");
font-display: swap;
}
html {
font-size: min(calc(100vw / 42), calc(100vh / 50));
height: 100%;
}
body {
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
margin: 0;
overflow: hidden;
font-family: "Iosevka", monospace;
font-size: 80%;
height: 100%;
}
#sliders {
width: 32rem;
height: 32rem;
transform: scale(calc(2110 / 2000));
position: relative;
}
#slider-container {
width: 32rem;
height: 32rem;
position: relative;
}
#formula:focus {
outline: none;
}
textarea {
font-family: "Iosevka", monospace;
font-size: 100%;
width: 32rem;
height: 2rem;
min-height: 2rem;
box-sizing: border-box;
resize: none;
overflow: hidden;
border: none;
/*border: solid 0.5px #b2b2b2;*/
background: #efefef;
//color: white;
border-radius: 0.3rem;
margin-top: 0.5rem;
padding: 0.5rem;
transition: background 0.1s;
}
#comment {
margin-bottom: 0.2rem;
}
#txi,
#comment {
cursor: default;
}
#code {
width: 32rem;
margin-bottom: 1rem;
position: relative;
}
#formula:hover {
background: #e5e5e5;
}
.error {
background: #efcece !important;
}
#examples-left,
#examples-right {
z-index: 1;
cursor: pointer;
position: absolute;
top: 14.5rem;
font-size: 1.2rem;
width: 3rem;
height: 3rem;
text-align: center;
line-height: 3rem;
transition-property: right, left;
transition-duration: 0.2s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
}
#examples-left {
left: -3rem;
}
#examples-left:hover {
left: -3.5rem;
}
#examples-right {
right: -3.5rem;
background: #0075ff;
color: white;
border-radius: 0.3rem;
}
#examples-right:hover {
right: -4rem;
background: #0065ef;
}
#credits {
margin-top: 1rem;
}
a {
color: black;
}
#record {
background: #e5e5e5;
border-radius: 0.3rem;
padding: 0.1rem 0.3rem;
cursor: pointer;
}
#record:hover {
background: #c7381c;
color: white;
}