Difference between revisions of "MediaWiki:Common.css"

no edit summary
Tag: Reverted
 
(30 intermediate revisions by 3 users not shown)
Line 1,927: Line 1,927:
}
}


.colour-button a {
.colour-button a, .colour-button a.external, .colour-button-small a, .colour-button-small a.external {
display: inline-block;
display: inline-block;
padding: 1rem 2rem;
border-radius: 3rem;
border-radius: 3rem;
background-image: linear-gradient(126deg, #5f5bcd 24%, #ff5700 100%);
background-image: linear-gradient(126deg, #5f5bcd 24%, #ff5700 100%);
background-size: auto;
transition: .5s;
transition: .5s;
color: white;
color: white;
text-decoration: none;
text-decoration: none;
}
}
.colour-button a:hover {
.colour-button a:hover, .colour-button-small a:hover {
background-image: linear-gradient(160deg, #5f5bcd 24%, #ff5700 100%);
background-image: linear-gradient(160deg, #5f5bcd 24%, #ff5700 100%);
color: white;
color: white;
text-decoration: none;
text-decoration: none;
}
.colour-button a, .colour-button a.external {
padding: 1rem 2rem;
}
.colour-button-small a, .colour-button-small a.external {
padding: 0.5rem 1rem;
}
}


Line 2,388: Line 2,396:
   color: #ba0606;
   color: #ba0606;
   position: relative;
   position: relative;
}
.tooltip-content .mwe-math-element, .tooltip-content-2 .mwe-math-element {
border-bottom: none;
}
.tooltip-trigger .mwe-math-element, .tooltip-trigger-2 .mwe-math-element {
border-bottom: 2px solid #ba0606;
}
}


Line 2,401: Line 2,401:
   display: inline-block;
   display: inline-block;
   position: absolute;
   position: absolute;
   min-width: 30em;
  top: 18px;
  transform: translate(-20em); /* centra il popup sotto la "i" */
   min-width: 40em;
   padding: 10px 15px;
   padding: 10px 15px;
   color: #585858;
   color: #585858;
Line 2,409: Line 2,411:
   font-size: 90%;
   font-size: 90%;
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
   box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  z-index: 100;
}
}


Line 2,417: Line 2,420:
.tooltip-trigger:hover {
.tooltip-trigger:hover {
   cursor: help;
   cursor: help;
}
@media screen and (max-width: 1200px) {
.mw-parser-output {
position: relative;
}
.tooltip-trigger, .tooltip-trigger-2 {
position: static;
}
.tooltip-trigger:hover .tooltip-content, .tooltip-trigger-2:hover .tooltip-content-2 {
box-sizing: border-box;
left: 0;
top: auto;
transform: translate(0, 2em);
width: 100%;
}
}
/* ============= configurazione visibilità capitoli nel Book index ============= */
.crisis-of-paradigm-for-all {
display: block;
}
.crisis-of-paradigm-for-members {
display: none;
}
.extraordinary-science-for-all {
display: block;
}
.extraordinary-science-for-affiliates {
display: none;
}
/* ============= Template:Login or request Member account ============= */
.responsive-buttons {
display: flex;
justify-content: center;
gap: 2rem;
margin: 2rem auto;
}
}