MediaWiki:Common.css: Difference between revisions
From Ragnarok Plus Wiki
No edit summary |
No edit summary |
||
| Line 46: | Line 46: | ||
a.external::after { | a.external::after { | ||
content: none !important; | content: none !important; | ||
} | |||
/* Class for copyable text */ | |||
.copyword { | |||
cursor: pointer; /* show hand cursor */ | |||
border-bottom: 1px dashed currentColor; /* dashed underline, same color as text */ | |||
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 */ | |||
} | |||
/* Optional: underline and symbol remain same on hover */ | |||
.copyword:hover { | |||
border-bottom-color: currentColor; /* underline stays same color */ | |||
} | } | ||
Revision as of 07:30, 26 September 2025
/* CSS placed here will be applied to all skins */
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,
a:visited {
color: black !important;
text-decoration: none !important;
}
a:hover,
a:active {
text-decoration: underline !important;
}
a.external {
background: none !important;
padding-right: 0 !important;
}
a.external::after {
content: none !important;
}
/* Class for copyable text */
.copyword {
cursor: pointer; /* show hand cursor */
border-bottom: 1px dashed currentColor; /* dashed underline, same color as text */
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 */
}
/* Optional: underline and symbol remain same on hover */
.copyword:hover {
border-bottom-color: currentColor; /* underline stays same color */
}
