-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.css
73 lines (64 loc) · 1.44 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
html {
font-family: Arial, Helvetica, sans-serif;
}
/* The Modal (background) */
.modal {
display: none; /* Hidden by default */
position: fixed; /* Stay in place */
z-index: 1500; /* Sit on top */
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/Box */
.modal-content {
border-radius: 1em;
background-color: #fefefe;
margin: 5% auto; /* 15% from the top and centered */
padding: 20px;
border: 1px solid #888;
width: 30%; /* 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;
}
button, .file {
font-size: small;
border: none;
background-color: rgb(0,86,39);
color: white;
padding: 0.8em;
text-align: center;
margin-top: 1em;
}
.modal h2 {
text-align: center;
}
input {
width: 100%;
}
@media only screen and (max-width: 1000px) {
.modal-content {
width: 50%;
}
}
@media only screen and (max-width: 600px) {
.modal-content {
margin: 15% auto; /* 15% from the top and centered */
width: 80%;
}
}