Difference between revisions of "MediaWiki:Common.css"

From Openresearch
Jump to: navigation, search
(Undo revision 207192 by Liy1 (talk))
Line 50: Line 50:
 
}
 
}
  
/* a dropdown menu */
+
/* calendar */
.dropbtn {
+
#calendar {
    background-color: #4CAF50;
+
     width: 200px;
    color: white;
+
     margin: 0 auto;
    padding: 16px;
+
     font-size: 10px;
    font-size: 16px;
 
    border: none;
 
    cursor: pointer;
 
}
 
 
 
.dropdown {
 
    position: relative;
 
    display: inline-block;
 
}
 
 
 
.dropdown-content {
 
     display: none;
 
    position: absolute;
 
    background-color: #f9f9f9;
 
    min-width: 160px;
 
     box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
 
}
 
 
 
.dropdown-content a {
 
    color: black;
 
     padding: 12px 16px;
 
    text-decoration: none;
 
    display: block;
 
}
 
 
 
.dropdown-content a:hover {background-color: #f1f1f1}
 
 
 
.dropdown:hover .dropdown-content {
 
    display: block;
 
}
 
 
 
.dropdown:hover .dropbtn {
 
    background-color: #3e8e41;
 
}
 
 
 
/* container */
 
 
 
.alignleft {
 
        border: 0.1px solid #F5F5DC;
 
        width: 80%;
 
float: left;
 
}
 
  .alignright {
 
        border: 0.1px solid #F5F5DC;
 
        width: 18%;
 
float: right;
 
}
 
  .container {
 
border: 0px solid #000000;
 
overflow: auto;
 
width: 100%
 
}
 
  .div_hover {
 
      background-color: white;
 
 
 
}
 
 
 
  .div_hover:hover {
 
      background-color: #F5F5DC;  
 
 
}
 
}
  

Revision as of 17:30, 17 September 2016

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

.smw-eventcalendar {
  height:20em;
  width: 20em;
}

.page-wrap { 
  width: 1450px; 
  margin-left: 10px; 
  position: relative; 
}

.sidebar { 
  width: 150px; 
  position: fixed; 
  margin-left: 1570px; 
}

/* from Common.css in SMW for the table of content */
#smworgtable-toc #toc {
	border: 0px solid #AAA;
	background-color: #ffffff;
	font-size: 100%;
	width: 220px;
} 
#smworgtable-toc.smworgtable-toc th a {
	color: #164eaf;
}
 
#toc #toctitle,
.toc #toctitle,
#toc .toctitle,
.toc .toctitle {
	text-align: right;
}
 
#smworgtable-toc #toc.toc {
	font-size: 110%;
}
 
#toc h2,
.toc h2 {
	display: none;
}
 
#toc .toctoggle,
.toc .toctoggle {
	text-align: right !important;
}

/* calendar */
#calendar {
    width: 200px;
    margin: 0 auto;
    font-size: 10px;
}


/* div class border */
.alright {
    background-color: #F5F5DC;
    border: 1px solid #3dcf2d;
    border-radius: 4px ;
}