MediaWiki:Common.css: Difference between revisions

From Ragnarok Plus Wiki
TerryTie (talk | contribs)
No edit summary
TerryTie (talk | contribs)
No edit summary
Line 58: Line 58:
hr.dashed {
hr.dashed {
   border: none;
   border: none;
   height: 2px; /* толщина линии */
   border-top: 2px dashed #999;
  background-image: repeating-linear-gradient(
   margin: 1em 0;
    to right,
    #777 0px,
    #777 20px,  /* длина тире */
    transparent 20px,
    transparent 40px  /* длина промежутка */
  );
   margin: 1.em 0;
}
}

Revision as of 00:54, 11 November 2025

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

/* Table with dark green borders */
table.wikitable.ragnarok-table {
    border: 1px solid #0f172b !important;
    border-collapse: collapse !important;
}

table.wikitable.ragnarok-table th {
    border: 1px solid #0f172b !important;
    padding: 10px;
    text-align: center;
    vertical-align: middle;
}

table.wikitable.ragnarok-table td {
    border: 1px solid #0f172b !important;
    padding: 10px;
    text-align: left;
    vertical-align: middle;
}

table.wikitable.ragnarok-table .left   { text-align: left; }
table.wikitable.ragnarok-table .right  { text-align: right; }
table.wikitable.ragnarok-table .center { text-align: center; }

.green-bold {
    color: #02783d;
    font-weight: bold;
}

a:hover,
a:active {
    text-decoration: underline !important;
}

/* Copy text to buffer */

/* Class for copyable text */
.copyword {
    cursor: pointer;          /* show hand cursor */
    transition: all 0.2s;     /* smooth transition for hover effects */
}

/* Automatically add the copy symbol after the text */
.copyword::after {
    content: " ⧉";            /* the copy symbol */
    /* inherits all font properties and color from parent */
}

/* Dotted underline appears only on hover */
.copyword:hover {
    border-bottom: 1px dashed currentColor; /* underline appears on hover, same color as text */
}

/* Dasged grey line */

hr.dashed {
  border: none;
  border-top: 2px dashed #999;
  margin: 1em 0;
}