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

Encyves Wiki
이동: 둘러보기, 검색
 
(같은 사용자의 중간 판 69개는 보이지 않습니다)
1번째 줄: 1번째 줄:
 
/* 이 CSS 설정은 벡터 스킨을 사용하는 사용자에게 적용됩니다 */
 
/* 이 CSS 설정은 벡터 스킨을 사용하는 사용자에게 적용됩니다 */
  
h2{font-weight:bold}
+
h2{font-weight:bold;}
 +
h4{font-size:1.1em;}
 +
 
 +
 +
@import url(http://fonts.googleapis.com/earlyaccess/jejumyeongjo.css);
  
 
.dropbtn {
 
.dropbtn {
     background-color: #4CAF50;
+
      
    color: white;
+
     cursor:point
    padding: 16px;
 
    font-size: 16px;
 
    border: none;
 
     cursor: pointer;
 
 
}
 
}
  
/* The container <div> - needed to position the dropdown content */
+
.dropdown:before {
.dropdown {
+
      
     position: relative;
 
 
     display: inline-block;
 
     display: inline-block;
 
}
 
}
  
/* Dropdown Content (Hidden by Default) */
 
 
.dropdown-content {
 
.dropdown-content {
     display: none;
+
      
 
     position: absolute;
 
     position: absolute;
 
     background-color: #f9f9f9;
 
     background-color: #f9f9f9;
     min-width: 160px;
+
     min-width: 200px;
 
     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 
     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
     z-index: 1;
+
     margin-bottom:50px;
 +
    visibility: hidden;
 +
    opacity: 0;
 +
    position: absolute;
 +
   
 +
    transition: all 0.7s ease 0s, visibility 0s linear 0.5s;
 +
     
 
}
 
}
  
/* Links inside the dropdown */
 
 
.dropdown-content a {
 
.dropdown-content a {
    color: black;
+
     padding-right:10px;
     padding: 12px 16px;
 
    text-decoration: none;
 
 
     display: block;
 
     display: block;
 +
 
 
}
 
}
  
/* Change color of dropdown links on hover */
 
 
.dropdown-content a:hover {background-color: #f1f1f1}
 
.dropdown-content a:hover {background-color: #f1f1f1}
  
/* Show the dropdown menu on hover */
+
 
 
.dropdown:hover .dropdown-content {
 
.dropdown:hover .dropdown-content {
     display: block;
+
      
 +
    visibility: visible; /* shows sub-menu */
 +
  opacity: 1;
 +
 
 +
 
 +
 
 
}
 
}
  
/* Change the background color of the dropdown button when the dropdown content is shown */
 
 
.dropdown:hover .dropbtn {
 
.dropdown:hover .dropbtn {
     background-color: #lightgray;
+
     background-color: lightgray;
 
}
 
}

2017년 8월 6일 (일) 00:05 기준 최신판

/* 이 CSS 설정은 벡터 스킨을 사용하는 사용자에게 적용됩니다 */

h2{font-weight:bold;}
h4{font-size:1.1em;}

	
@import url(http://fonts.googleapis.com/earlyaccess/jejumyeongjo.css);

.dropbtn {
    
    cursor:point
}

.dropdown:before {
    
    display: inline-block;
}

.dropdown-content {
    
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    margin-bottom:50px;
    visibility: hidden; 
    opacity: 0;
    position: absolute;
    
    transition: all 0.7s ease 0s, visibility 0s linear 0.5s;
      
}

.dropdown-content a {
    padding-right:10px;
    display: block;
   
}

.dropdown-content a:hover {background-color: #f1f1f1}


.dropdown:hover .dropdown-content {
    
     visibility: visible; /* shows sub-menu */
  opacity: 1;
  


}

.dropdown:hover .dropbtn {
    background-color: lightgray;
}