forked from leander2189/four-colors
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
155 lines (142 loc) · 2.95 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
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
155
body
{
background-color: white;
/*color: black;*/
text-align: justify;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
line-height: 1.5em;
font-size: large;
max-width: 450px;
margin: 0 auto;
width: 90%;
}
/*
.container
{
border: 0px solid black;
}
*/
canvas
{
border-style: solid;
border-width: thin;
border-color: black;
width:100%;
height: 80%;
}
.title_area
{
display: flex;
}
.title
{
width: 100%;
text-align: center;
}
h1
{
font-size: 20px;
text-align: center;
vertical-align: sub;
}
/* Dropdown menu */
.drowpdown
{
position: relative;
display: inline-block;
}
.dropbtn {
background-color: white;
color: white;
border: none;
width: 32px;
align-items: center;
justify-content: center;
margin: 10px;
}
/* Dropdown Content (Hidden by Default) */
.dropdown-content {
display: none;
position: absolute;
background-color: #f1f1f1;
min-width: 160px;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 1;
}
/* Links inside the dropdown */
.dropdown-content a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}
/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #9b9b9b;}
/* Button configuration */
.button-group {
display: flex;
justify-content: space-between;
}
.button-group button {
flex-grow: 1;
}
.button
{
background-color: gray;
border: none;
color: white;
padding: 15px 32px;
margin: 10px;
text-align: center;
text-decoration: none;
display: inline-block;
border-radius: 5px;
transition-duration: 0.4s;
font-size: larger;
}
.button:hover {
transform: scale(1, 1.3);
transition: 0.4s;
}
.button.active {
transform: scale(1, 1.3);
}
/* Modal Display */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1; /* Sit on top */
left: 0;
top: 0;
width: 100%; /* Full width */
height: 100%; /* Full height */
overflow: auto; /* Enable scroll if needed */
background-color: rgb(94, 94, 94); /* Fallback color */
background-color: rgba(94, 94, 94, 0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
font-size: medium;
background-color: rgba(255, 255, 255, 0.8);
margin: 15% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 80%; /* Could be more or less, depending on screen size */
}
/* The Close Button */
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}