-
Notifications
You must be signed in to change notification settings - Fork 0
/
overlays.css
109 lines (93 loc) · 1.92 KB
/
overlays.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
.overlay-content{
position: -webkit-sticky; /* Safari */
position: sticky;
top: 50%;
left: 50%;
font-size: 12px;
color: white;
transform: translate(-0%, 5%);
}
.overlay {
/* unvisited link */
position: fixed;
display: none; /* Hidden by default */
width: 100%; /* Full width (cover the whole page) */
height: 100%; /* Full height (cover the whole page) */
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0,0,0,0.5); /* Black background with opacity */
z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
cursor: pointer; /* Add a pointer on hover */
font-family: monospace;
}
.card {
box-shadow: 0 4px 8px 0 rgba(30, 30, 30, 1);
max-width: 700px;
margin: auto;
text-align: center;
font-family: monospace;
background: rgba(15, 15,15,10);
}
.card button {
border: none;
outline: 0;
padding: 12px;
color: white;
background-color: #000;
text-align: center;
cursor: pointer;
width: 100%;
font-size: 18px;
}
.card button:hover {
opacity: 0.7;
}
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #02a81b;
font-family: monospace;
}
/* Style the buttons that are used to open the tab content */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
font-family: monospace;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
}
.overlay a:link {
color: grey;
}
/* visited link */
.overlay a:visited {
color: green;
}
/* mouse over link */
.overlay a:hover {
color: green;
}
/* selected link */
.overlay a:active {
color: white;
}