Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:18PlusDisclaimer/styles.css: Difference between revisions

Template page
Created page with ".age-overlay { display: none; position: fixed; z-index: 9999; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.85); justify-content: center; align-items: center; text-align: center; } .age-popup { background: white; padding: 30px; border-radius: 12px; max-width: 400px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); } .age-popup h2 { margin-bottom: 15px; } .btn-group { display: flex; justify-content: center; gap..."
 
No edit summary
Line 3: Line 3:
   position: fixed;
   position: fixed;
   z-index: 9999;
   z-index: 9999;
   top: 0; left: 0;
   top: 0;
   width: 100%; height: 100%;
  left: 0;
  background-color: rgba(0, 0, 0, 0.85);
   width: 100%;
  height: 100%;
   justify-content: center;
   justify-content: center;
   align-items: center;
   align-items: center;
   text-align: center;
   text-align: center;
}
.age-blur {
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px);
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}
}


.age-popup {
.age-popup {
  position: relative;
  z-index: 2;
   background: white;
   background: white;
   padding: 30px;
   padding: 30px;
   border-radius: 12px;
   border-radius: 12px;
   max-width: 400px;
   max-width: 400px;
   box-shadow: 0 4px 10px rgba(0,0,0,0.3);
   box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-50px);
  transition: all 0.5s ease-out;
}
 
.age-popup.slide-active {
  opacity: 1;
  transform: translateY(0);
}
}



Revision as of 13:26, 18 April 2025

.age-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.age-blur {
  position: absolute;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(12px);
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

.age-popup {
  position: relative;
  z-index: 2;
  background: white;
  padding: 30px;
  border-radius: 12px;
  max-width: 400px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-50px);
  transition: all 0.5s ease-out;
}

.age-popup.slide-active {
  opacity: 1;
  transform: translateY(0);
}

.age-popup h2 {
  margin-bottom: 15px;
}

.btn-group {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.age-popup button {
  padding: 10px 20px;
  font-size: 16px;
  background: #d62828;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.age-popup button:hover {
  background: #a41e1e;
}

Advertising: