Difference between revisions of "MediaWiki:Common.css"

no edit summary
Tag: Reverted
 
(18 intermediate revisions by 2 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,393: Line 2,401:
   display: inline-block;
   display: inline-block;
   position: absolute;
   position: absolute;
   top: 2em;
   top: 18px;
   transform: translate(-20em); /* centra il popup sotto la "i" */
   transform: translate(-20em); /* centra il popup sotto la "i" */
   min-width: 40em;
   min-width: 40em;
Line 2,406: Line 2,414:
}
}


@media screen and (min-width: 720px) {
.tooltip-content, .tooltip-content-2 {
  display: none;
}
 
.tooltip-trigger:hover {
  cursor: help;
}
 
@media screen and (max-width: 1200px) {
.mw-parser-output {
.mw-parser-output {
position: relative;
position: relative;
Line 2,414: Line 2,430:
}
}
.tooltip-trigger:hover .tooltip-content, .tooltip-trigger-2:hover .tooltip-content-2 {
.tooltip-trigger:hover .tooltip-content, .tooltip-trigger-2:hover .tooltip-content-2 {
box-sizing: border-box;
left: 0;
left: 0;
transform: none;
top: auto;
transform: translate(0, 2em);
width: 100%;
}
}
}
}


.tooltip-content, .tooltip-content-2 {
/* ============= configurazione visibilità capitoli nel Book index ============= */
  display: none;
.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;
}
}


.tooltip-trigger:hover {
/* ============= Template:Login or request Member account ============= */
  cursor: help;
.responsive-buttons {
display: flex;
justify-content: center;
gap: 2rem;
margin: 2rem auto;
}
}