-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyleModal.css
More file actions
48 lines (46 loc) · 1.01 KB
/
styleModal.css
File metadata and controls
48 lines (46 loc) · 1.01 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
/* The Modal (background) */
.modal {
display: none;
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: rgba(0,0,0,0.4); /* Black w/ opacity */
}
/* Modal Content/Box */
.modal-content {
color: black;
font-size: 18px;
font-weight: bold;
background-image: url(images/back8.webp);
background-color: rgba(255,255,255,0.8);
background-blend-mode: lighten;
font-family: Calibri;
margin: 8% auto;
padding: 10px;
border: white;
width: 62%; /* depending on screen size */
}
/* The Close Button */
.close {
color: #0a0b5c;
float: right;
font-size: 34px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: black;
text-decoration: none;
cursor: pointer;
}
h2 {
font-family: myFont;
color: #0b1b6c;
text-align: center;
font-size: 24px;
font-weight: bold;
}