"미디어위키:Mobile.css"의 두 판 사이의 차이
누리위키, 온 누리의 백과사전
잔글 |
잔글 |
||
9번째 줄: | 9번째 줄: | ||
} | } | ||
− | iframe { | + | .video-container { |
− | position: absolute; | + | position: relative; |
− | top: 0; | + | padding-bottom: 56.25%; |
− | left: 0; | + | padding-top: 30px; |
− | width: 100%; | + | height: 0; |
− | height: 100%; | + | overflow: hidden; |
+ | } | ||
+ | .video-container iframe { | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
} | } |
2015년 8월 20일 (목) 10:56 판
/* 이 CSS 설정은 모바일 사이트를 사용하는 사용자에게 적용됩니다. */
del,strike{
color:#c1c1c1;
}
del a, s a, del a:visited, s a:visited{
color: #7f7ff6;
text-decoration: line-through;
}
.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}