MediaWiki:Common.css: Difference between revisions

No edit summary
No edit summary
 
Line 36: Line 36:
     /* border: 1px solid red !important;*/
     /* border: 1px solid red !important;*/
       color: red !important;
       color: red !important;
       border: 1px gray solidWhole_Earth_Fractures !important;
       border: 1px gray solid !important;
         border-radius: 4px !important;
         border-radius: 4px !important;
       transition: margin 1s, padding 1s !important;
       transition: margin 1s, padding 1s !important;

Latest revision as of 13:39, 16 December 2025

/* CSS placed here will be applied to all skins */

body {
	background-color: yellow !important;
	font-family: Bitstream Vera Sans Mono;
	line-height: 1.6;
}

li.mw-list-item:not(#ca-edit, #ca-ve-edit, #pt-createaccount, #pt-login, #ca-history, #pt-logout, #ca-protect, #ca-move, #n-recentchanges, #ca-delete, #n-mainpage-description) {
  display: none !important;
}

header h1 {
  margin: 1rem auto !important;
}

header nav, #siteNotice {
  display: none !important;
}

.mw-redirectedfrom {
	display: none !important;
}


p {
    position: relative !important;
  }
  
  .highlight-wrapper {
    display: inline-block !important;
  }
  
  span.highlight {
    /* text-decoration: underline grey 2px !important; */
     /* border: 1px solid red !important;*/
      color: red !important;
      border: 1px gray solid !important;
        border-radius: 4px !important;
      transition: margin 1s, padding 1s !important;
    z-index: 11 !important;
  position: relative !important;
     background-color: yellow !important;
  
  }
  
  .highlight-wrapper:hover {
    z-index: 14 !important;
  }
  
  .highlight-wrapper:hover .highlight {
    z-index: 15 !important;
  }
  
  
  span.highlight::before {
    content: "🔗" !important;
  }
  
  /* Hovertext-Standard */
  span.hover-text {
     display: block !important; 
    position: absolute !important;
    left: 0% !important;
    transform: translateY(-10px) !important;
    width: 100% !important;
    margin: auto !important;
    background: yellow !important;
    padding: 1rem !important;
    border-radius: 4px !important;
    box-shadow: 0px 0px 2rem 50px yellow !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    z-index: 10 !important;
    font-style: italic !important;
    box-sizing: border-box !important;
  color: gray !important;
    opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, visibility 0.3s ease !important;
    border: 01px solid !important;
  }
  
  .highlight-wrapper:hover .hover-text[data-hover-for="h1"],
  .highlight-wrapper:hover .hover-text[data-hover-for="h2"] {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    z-index: 14 !important;
  }