미디어위키:Common.css: 두 판 사이의 차이

S.T.E.L.L.A.-WIKI
편집 요약 없음
태그: 되돌려진 기여
편집 요약 없음
 
(사용자 2명의 중간 판 74개는 보이지 않습니다)
1번째 줄: 1번째 줄:
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
/* 이 CSS 설정은 모든 스킨에 적용됩니다 */
@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);
* { font-family: nanumgothic; }
.vector-body {
    font-size: calc(1em* 0.87);
}
.vector-page-toolbar-container {
font-size: calc(1em* 0.78);
}
.mw-body h1, .mw-body-content h1 {
    font-size: 1.5em;
}
.vector-body h2 {
    font-size: 1.3em;
}
td {
td {
position: relative;
position: relative;
10번째 줄: 26번째 줄:
opacity: 0;
opacity: 0;
}
}
@media screen and (max-width: 768px) {
.spoiler {
.folding-margin-remove {
width: fit-content;
    margin: 0 -10px -5.666px;
height: fit-content;
}
}
.folding-margin-remove-width {
.spoiler h4 {
    margin: 0 -10px -5.666px;
font-size: 14px;
}
text-align: center;
.folding-margin-remove-width-multi {
background: yellow;
margin: 0 -10px 0;
border: 1px solid black;
}
padding: 4px 0;
.mobileBtn:active {
margin: 0;
animation-name: btn-background;
}
animation-duration: .5s;
.spoiler div {
animation-iteration-count: 1;
overflow: hidden;
animation-timing-function: steps(1, end);
}
animation-fill-mode: forwards;
.spoiler .spoiler-img {
}
overflow: hidden;
.tit-margin-remove {
filter: blur(20px) saturate(.5) contrast(.5) brightness(1.2);
    margin: -5.666px -10px;
transition: filter 0.2s;
}
}
.spoiler .spoiler-img:hover {
filter: none;
}
 
.spoiler-text {
position: relative;
color: #424242;
background-color: #424242;
padding: 2px 4px;
border-radius: 3px;
transition: background-color 0.2s, color 0.2s;
}
.spoiler-text::after {
content: "";
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
font-size: 10px;
color: white;
white-space: nowrap;
transition: opacity 0.2s;
pointer-events: none;
}
.spoiler-text:hover {
color: inherit;
background-color: #0002;
}
.spoiler-text:hover::after {
opacity: 0;
}
 
.fake-ref-text {
  vertical-align: super;
  font-size: smaller;
  color: #0275d8;
}
.mw-header a:visited {
    color: #f29fa4 !important;
}
.mw-header a:link {
    color: #f29fa4 !important;
}
 
.vector-body a:link {
  color : #0275d8;
}
.vector-body a:visited {
  color : #0275d8;
}
.vector-body a:hover {
  color : #0275d8;
  text-decoration: underline;
}
.vector-body a:active {
  color : #0275d8;
}
.vector-body a:external.text {
  color : #0275d8;
}
}
@keyframes btn-background {
 
from {
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
background: blue;
    color: #0275d8;
background: rgba(0, 0, 255, 0.1);
}
to {
background: none;
}
}
}
@media screen and (min-width: 768px) {
 
.folding-margin-remove {
 
margin: 0 -9.666px -5.166px;
 
}
 
.folding-margin-remove-width {
 
margin: 0 -9.677px -5.166px;
.mw-parser-output a.external {
}
    background-image: url(https://wiki.ellixspace.com/images/3/32/Linkicon.png);
.folding-margin-remove-width-multi {
    background-position: center right;
margin: 0 -9.677px 0;
    background-repeat: no-repeat;
}
    background-size: 0.857em;
.tit-margin-remove {
    padding-right: 1em;
margin: 0 -9.666px -5.166px;
}
}
}

2024년 10월 6일 (일) 13:52 기준 최신판

/* 이 CSS 설정은 모든 스킨에 적용됩니다 */

@import url(http://fonts.googleapis.com/earlyaccess/nanumgothic.css);
* { font-family: nanumgothic; }

.vector-body {
    font-size: calc(1em* 0.87);
}
.vector-page-toolbar-container {
	font-size: calc(1em* 0.78);
}
.mw-body h1, .mw-body-content h1 {
    font-size: 1.5em;
}
.vector-body h2 {
    font-size: 1.3em;
}
td {
	position: relative;
}
.mw-collapsible-toggle {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	opacity: 0;
}
.spoiler {
	width: fit-content;
	height: fit-content;
}
.spoiler h4 {
	font-size: 14px;
	text-align: center;
	background: yellow;
	border: 1px solid black;
	padding: 4px 0;
	margin: 0;
}
.spoiler div {
	overflow: hidden;
}
.spoiler .spoiler-img {
	overflow: hidden;
	filter: blur(20px) saturate(.5) contrast(.5) brightness(1.2);
	transition: filter 0.2s;
}
.spoiler .spoiler-img:hover {
	filter: none;
}

.spoiler-text {
	position: relative;
	color: #424242;
	background-color: #424242;
	padding: 2px 4px;
	border-radius: 3px;
	transition: background-color 0.2s, color 0.2s;
}
.spoiler-text::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 10px;
	color: white;
	white-space: nowrap;
	transition: opacity 0.2s;
	pointer-events: none;
}
.spoiler-text:hover {
	color: inherit;
	background-color: #0002;
}
.spoiler-text:hover::after {
	opacity: 0;
}

.fake-ref-text {
  vertical-align: super;
  font-size: smaller;
  color: #0275d8;
}
.mw-header a:visited {
    color: #f29fa4 !important;
}
.mw-header a:link {
    color: #f29fa4 !important;
}

.vector-body a:link {
  color : #0275d8;
}
.vector-body a:visited {
  color : #0275d8;
}
.vector-body a:hover {
  color : #0275d8;
  text-decoration: underline;
}
.vector-body a:active {
  color : #0275d8;
}
.vector-body a:external.text {
  color : #0275d8;
}

.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
    color: #0275d8;
}





.mw-parser-output a.external {
    background-image: url(https://wiki.ellixspace.com/images/3/32/Linkicon.png);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: 0.857em;
    padding-right: 1em;
}