Linksys/styles.css
< Linksys
Jump to navigation
Jump to search
.internet-jail-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.88);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
animation: jailFadeIn 0.8s ease forwards;
animation-delay: 0.3s;
}
/*dismissing the overlay*/
.internet-jail-dismiss:checked + .internet-jail-overlay {
display: none;
}
.internet-jail-popup {
position: relative;
background: #111;
color: #eee;
max-width: 600px;
padding: 2em;
border-radius: 15px;
box-shadow: 0 0 30px rgba(0, 0, 255, 1);
font-family: sans-serif;
text-align: center;
transform: scale(0.9);
animation: jailPop 0.5s ease forwards;
}
.internet-jail-popup h1 {
margin: 0 0 0.2em;
font-size: 1.8em;
color: white;
}
.internet-jail-article {
font-size: 0.95em;
line-height: 1.5;
}
.internet-jail-article b {
color: white;
}
/*the red X itself*/
.internet-jail-x {
position: absolute;
top: 0.6em;
right: 0.7em;
font-size: 1.2em;
color: red;
cursor: pointer;
font-weight: bold;
}
.internet-jail-x:hover {
color: #ff6666;
}
.internet-jail-close {
display: inline-block;
margin-top: 1.5em;
font-size: 1em;
color: red;
}
.internet-jail-close::after {
content: "(this will not help much)";
opacity: 0.6;
}
/*a hidden checkbox*/
.internet-jail-dismiss {
display: none;
}
@keyframes jailFadeIn {
to { opacity: 1; }
}
@keyframes jailPop {
to { transform: scale(1); }
}