MediaWiki:Common.css: Unterschied zwischen den Versionen

Frank3 (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
Markierung: Zurückgesetzt
Frank8 (Diskussion | Beiträge)
Keine Bearbeitungszusammenfassung
 
(5 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
.mw-editsection { display:none!important; }
.ns-2506 #ca-talk { display: none !important; }
.ns-2508 #ca-talk { display: none !important; }


/* Style of the radio buttons in the vote */
/* Style of the radio buttons in the vote */
Zeile 6: Zeile 8:
   width:25px;
   width:25px;
}
}
.mw-message-box{
    overflow: visible;
    position: relative;
  background-color: whitesmoke;
  border: none;
}
fieldset {
  background-color: whitesmoke;
  margin-bottom: 5px;
  padding: 5px;
  border: none;
  text-align: left;
  outline: none;
}
fieldset p {
  margin: 1em;
}
legend {
  color: white;
  background-color: grey;
  float: right;
  padding: 0.2em 1em;
  border-bottom-left-radius: 0.5em;
  font-weight: bold;
}


.vote-radio{
.vote-radio{
Zeile 11: Zeile 44:
}
}


$("[title]").tooltip();


/*Functional Styling*/
.tooltip {
@media (pointer: coarse), (hover: none) {
  position: relative;
   [title] {
  display: inline-block;
    position: relative;
  color:#0000FF;
    display: flex;
  z-index: auto;
    justify-content: center;
}
   }
 
   [title]:focus::after {
 
     content: attr(title);
.tooltip .tooltiptext {
line-height: normal;
  visibility: hidden;
  width: 300px;
   background-color: #DDD;
  color: #000;
  text-align: left;
  text-wrap: wrap;
  padding: 3px;
  border-radius:6px;
  border: 1px solid #555;
  position: absolute;
  bottom: 125%;
  left: 50%;
  margin-left: -180px;
  opacity: 0;
  transition: opacity 1s all ease;
  transition-delay: .25s;
}
 
.tooltip .rightsidetooltiptext {
   margin-left: -300px;
}
 
 
.tooltiptext{
   z-index: 10000;
}
 
 
.tooltip .tooltiptext::after {
     content: '';
     position: absolute;
     position: absolute;
     top: 90%;
     top: 100%;
     color: #000;
     left: 60%;
     background-color: #fff;
    margin-left: -5px;
     border: 1px solid;
     border-width: 5px;
     width: fit-content;
     border-style: solid;
     padding: 3px;
     border-color: #555 transparent transparent transparent;
  }
}
 
.tooltip:hover .tooltiptext {
    visibility: visible;
     opacity: 1;
}
 
 
/* Tiles */


.tiles-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
 
.tile {
    flex: 1 0 300px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    text-align: center;
}
 
.tile:hover {
    transform: scale(1.05);
    text-decoration: none;
}
}