MediaWiki:Common.css: Difference between revisions

Jump to navigation Jump to search
AdminIsidore (talk | contribs)
No edit summary
AdminIsidore (talk | contribs)
No edit summary
 
(11 intermediate revisions by the same user not shown)
Line 24: Line 24:
}
}
@font-face {
@font-face {
   font-family: 'Morris';
   font-family: 'Morris Initials';
   /* Corrected src path to match the actual filename with a space */
   /* Corrected src path to match the actual filename with a space */
   src: url('/resources/fonts/Morris Initials.ttf') format('truetype');
   src: url('/resources/fonts/Morris Initials.ttf') format('truetype');
Line 96: Line 96:
}
}


/* Vulgate */
/* --- Final Vulgate CSS --- */
/* Corrected selector: Targets the first letter of the .vulgate-verse div itself, not a <p> tag */
/* --- Final Vulgate CSS --- */
.vulgate-verse::first-letter {
@font-face {
     float: left;
  font-family: 'Bilbo Swash Caps';
     font-family: 'Morris', cursive;
  src: url('/w/images/BilboSwashCaps-Regular.ttf') format('truetype');
     color: #8B4513;
}
     text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
.vulgate-container {
 
    position: relative;
     /* --- Alignment Fixes --- */
    width: 90%;
     /* If base font-size is 16px and line-height is 1.6, one line is 25.6px tall. */
    max-width: 800px;
     /* This font-size makes the drop cap span exactly two lines (approx. 51.2px). */
    margin: 3em auto;
     font-size: 3.2em;
}
     line-height: 0.8; /* Pulls the following lines up vertically. */
.vulgate-parchment {
     padding: 2px 8px 0 3px; /* Fine-tunes spacing around the letter. */
     position: absolute;
     margin: 0; /* Resets any default margin. */
    width: 100%;
    height: 100%;
     top: 0;
     left: 0;
     box-shadow: 2px 3px 20px rgba(0, 0, 0, 0.5), 0 0 125px #8f5922 inset;
    background: #fffef0;
    filter: url(#wavy2);
     background-image: url('/w/images/Parchment-texture.png');
}
.vulgate-content {
    position: relative;
    padding: 2em 3em;
    font-family: 'Bilbo Swash Caps', 'Palatino Linotype', cursive;
     font-size: 1.5em;
    line-height: 1.8;
     color: #7F3300;
     text-align: justify;
     text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4);
}
.vulgate-verse-number {
     font-weight: bold;
     margin-right: 5px;
}
}