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

Template:FlashEmbed/styles.css: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
.ruffle-container {
/* Flash Embed Styling */
  position: relative;
.flash-container {
  width: 100%;
    display: flex;
  max-width: 800px;           /* or {{{width}}} */
    justify-content: center;
  padding-top: 56.25%;       /* aspect‐ratio box (16:9) */
    align-items: center;
  background: var(--bg) center/cover no-repeat;
    padding: 15px;
    background-color: #f9f9f9; /* Light gray background for better contrast */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    max-width: 90%;
}
}


.ruffle-player {
.flash-container object {
  position: absolute;
    max-width: 100%;
  top: 0; left: 0; right: 0; bottom: 0;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
}


.ruffle-overlay {
.flash-container object:hover {
  position: absolute;
    transform: scale(1.02);
  top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  color: #fff;
}
 
.preloader_title {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}
 
.preloader_button {
  padding: 0.75em 1.5em;
  font-size: 1em;
  background: #28a;
  border: none;
  border-radius: 0.25em;
  color: #fff;
  cursor: pointer;
}
}

Revision as of 01:03, 26 April 2025

/* Flash Embed Styling */
.flash-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background-color: #f9f9f9; /* Light gray background for better contrast */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin: 10px auto;
    max-width: 90%;
}

.flash-container object {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flash-container object:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

Advertising: