forked from GabrielDertoni/AnalyticalGeometry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
154 lines (139 loc) · 2.69 KB
/
style.css
File metadata and controls
154 lines (139 loc) · 2.69 KB
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
@font-face {
font-family: "Computer Modern";
src: url('fonts/cmunti.otf');
}
body {
margin: 0;
color: white;
background-color: black;
font-family: "Computer Modern";
}
label {
font-size: 1.5em;
letter-spacing: 1.2px;
}
ol {
padding: 0;
list-style: none;
}
button {
background-color: #0075ff;
border: none;
color: white;
font-family: "Computer Modern";
font-size: 1.2em;
letter-spacing: 1.2px;
padding: 0.333em;
margin-bottom: 0.3em;
}
.equation-container {
position: absolute;
right: 1em;
top: 0;
display: flex;
flex-flow: row nowrap;
align-items: center;
margin-top: 2em;
}
#equation {
font-size: 2em;
margin: 0 0.5em;
}
.equation-container svg {
fill: white;
}
.equation-container svg:hover {
cursor: pointer;
}
input[type="number"] {
width: 4em;
color: white;
background: transparent;
font-family: "Computer Modern";
font-size: 1.5em;
font-weight: bold;
border: none;
text-align: center;
}
label {
font-size: 2em;
}
/* Code credit goes to https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_modal */
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
padding-top: 100px; /* Location of the box */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(0,0,0); /* Fallback color */
background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content */
.modal-content {
position: relative;
background-color: #fefefe;
margin: auto;
padding: 0;
border: noen;
border-radius: 10px;
width: 80%;
box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
-webkit-animation-name: animatetop;
-webkit-animation-duration: 0.4s;
animation-name: animatetop;
animation-duration: 0.4s;
color: black;
}
/* Add Animation */
@-webkit-keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
@keyframes animatetop {
from {top:-300px; opacity:0}
to {top:0; opacity:1}
}
.modal-header {
padding: 2px 16px;
background-color: #17a2b8;
border-radius: 10px 10px 0 0;
color: white;
}
.modal-header h2 {
margin: 0.3em 0;
font-size: 2em;
}
.modal-body {
padding: 2px 16px;
color: black;
font-size: 1.5em;
}
.modal-footer {
padding: 2px 16px;
color: black;
}
.modal-inner .title {
margin-bottom: 0.2em;
}
.modal-inner .titled {
margin-top: 0;
}
/* The Close Button */
.close {
color: white;
float: right;
font-size: 2.5em;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}
.close:hover,
.close:focus {
color: #000;
text-decoration: none;
cursor: pointer;
}