MediaWiki:Common.css: Difference between revisions

From Alundra
No edit summary
Tag: Reverted
No edit summary
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Oleo+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Oleo+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Oleo+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');


--#mw-header-container,
--#mw-header-container,
Line 6: Line 8:
#mw-footer-container,
#mw-footer-container,
#page-tools {
#page-tools {
   font-family: "Oleo Script", system-ui;
   --font-family: "Oleo Script", system-ui;
  --font-weight: 400;
  --font-style: normal;
  --font-family: "Alfa Slab One", serif;
  --font-weight: 200;
  --font-style: normal;
  font-family: "DM Serif Display", serif;
   font-weight: 400;
   font-weight: 400;
   font-style: normal;
   font-style: normal;
    
    
   border-style: solid;
   background: #b8b090;
   border-color: transparent;
   border: 2px solid #908870;
   border-width: 8px 16px 8px 16px;
   box-shadow:
    0 2px 8px rgba(0,0,0,0.18);


   border-image: url("https://alundra.net/images/8/8d/Scroll.png");
   color: #2b2a24;
  border-image-slice: 8 16 8 16;
   text-shadow: none;
  border-image-repeat: repeat;
  border-image-width: 8px 16px 8px 16px;
  border-image-outset: 0;
 
  background-image: url("https://alundra.net/images/d/d0/Scroll_Inner.png");
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
 
  background-clip: padding-box;
 
  background-color: transparent;
 
   text-shadow: 0 1px 0 rgba(255,255,255,0.35);


   a {
   a {
Line 70: Line 65:
}
}


.item-infobox {
.mw-tmh-play {
  float: right;
    width:100%;
  width: 280px;
  margin: 0 0 1rem 1.25rem; /* Abstand links/unten */
  padding: 0.75rem;
  border: 1px solid #8a7f6a;
  background: rgba(245, 240, 225, 0.92);
  box-sizing: border-box;
}
}


.item-infobox-image {
.pixelart img {
  text-align: center;
    height: auto;
  margin-bottom: 0.5rem;
    max-width: 100%;
    image-rendering: pixelated;
}
}


.item-infobox-image img {
#p-banner,
   display: inline-block;
#user-tools {
  max-width: 100%;
   background: #b8b090;
   height: auto;
   border: 1px solid #908870;
}
}


.item-infobox hr {
#mw-header-container {
   border: 0;
   background-image: url("https://alundra.net/images/d/d9/Alundra_Banner_Test.png");
   border-top: 1px solid #8a7f6a;
   background-attachment: fixed;
  margin: 0.6rem 0;
   background-size: auto;
}
   background-position: center;
 
.item-infobox-stats {
   font-size: 0.95rem;
   line-height: 1.35;
}
}


.item-infobox-quote blockquote {
#mw-content-container {
   margin: 0.2rem 0 0;
   background-image: url("https://alundra.net/images/3/38/Alundra_Background_Test.png");
   padding-left: 0.6rem;
   background-attachment: fixed;
   border-left: 3px solid #8a7f6a;
   background-size: cover;
   font-style: italic;
   background-position: center;
}
}

Latest revision as of 19:44, 23 May 2026

/* CSS placed here will be applied to all skins */
@import url('https://fonts.googleapis.com/css2?family=Oleo+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Alfa+Slab+One&family=Oleo+Script:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&display=swap');

--#mw-header-container,
#mw-content,
#mw-footer-container,
#page-tools {
  --font-family: "Oleo Script", system-ui;
  --font-weight: 400;
  --font-style: normal;
  --font-family: "Alfa Slab One", serif;
  --font-weight: 200;
  --font-style: normal;
  font-family: "DM Serif Display", serif;
  font-weight: 400;
  font-style: normal;
  
  background: #b8b090;
  border: 2px solid #908870;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.18);

  color: #2b2a24;
  text-shadow: none;

  a {
    color: #1E4E6A;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-shadow: 0 1px 0 rgba(255,255,255,0.35);
  }

  a:visited {
    color: #4B3F6B;
  }

  a:focus,
  a:hover {
    color: #2F6F93;
    text-decoration-thickness: 2px;
  }

  a:active {
    color: #163A4F;
  }

}

.object-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fill, minmax(220px, 1fr));

    gap: 10px;
}

.object-entry {
    display: flex;
    align-items: center;
    gap: 6px;
}

.mw-tmh-play {
    width:100%;
}

.pixelart img {
    height: auto;
    max-width: 100%;
    image-rendering: pixelated;
}

#p-banner,
#user-tools {
  background: #b8b090;
  border: 1px solid #908870;
}

#mw-header-container {
  background-image: url("https://alundra.net/images/d/d9/Alundra_Banner_Test.png");
  background-attachment: fixed;
  background-size: auto;
  background-position: center;
}

#mw-content-container {
  background-image: url("https://alundra.net/images/3/38/Alundra_Background_Test.png");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
}