Difference between revisions of "MediaWiki:Common.css"

From Openresearch
Jump to: navigation, search
Line 121: Line 121:
 
/* twitter box absolute */
 
/* twitter box absolute */
 
#fixbox {
 
#fixbox {
 +
  border-radius: 25px;
 +
  border: 1px solid #F0FFFF;
 
   position: fixed;
 
   position: fixed;
 
   top: 5em;
 
   top: 5em;
 
   right: 1em;
 
   right: 1em;
 
}
 
}

Revision as of 20:14, 9 October 2016

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

.smw-eventcalendar {
  height: 100%;
  height:20em;
  width: 100%;
  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;
}

/* a dropdown menu */
.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 16px;
    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; 
}


/* twitter box absolute */
#fixbox {
   border-radius: 25px;
   border: 1px solid #F0FFFF;
   position: fixed;
   top: 5em;
   right: 1em;
}