Namespaces
Variants
Views

MediaWiki:Common.css

From NAMA Database
Jump to: navigation, search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Clear the cache in Tools → Preferences
/* CSS placed here will be applied to all skins */

.p-featured {
	padding: 5px;
	margin: 5px 5px 10px 0;
	border-radius: 4px;
	background-color: rgb(243, 185, 3);
	color: white;
	font-weight: bold;
	text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.54);
	display: inline-block;
}

table.literature2 {
	width: 98%;
}

table.literature2 th {
	padding: 10px;
	background-color: rgba(211, 211, 211, 0.15);
	text-align: left;
}

table.literature2 td {
	padding: 5px 20px 5px 0;
	vertical-align: top;
}

table.literature2 tr:nth-child(2) td {
	text-align: left;
	padding: 10px;
}

ul.menu-ul a.external {
	color: white !important;
	background: none !important;
}

.nama-big-green {
	background: linear-gradient( rgba(175, 212, 102, 0.73),rgba(175, 212, 102, 0.73) ), url(http://www.nama-database.org/images/7/78/Nama_p_3.jpg) !important;
}
.nama-big-green:hover {
 background-color: #7AB800 !important;
 background-image: none !important;
}

.nama-big-red {
	background: linear-gradient( rgba(221, 109, 131, 0.74),rgba(221, 109, 131, 0.74) ), url(http://www.nama-database.org/images/6/6d/Nama_p_2.jpg) !important;
}
.nama-big-red:hover {
 background-color: #C60C30 !important;
 background-image: none !important;
}

.nama-big-orange {
	background: linear-gradient( rgba(243, 205, 102, 0.74),rgba(243, 205, 102, 0.74) ), url(http://www.nama-database.org/images/e/e1/Nama_p_4.jpg) !important;
}
.nama-big-orange:hover {
 background-color: #EAAB00 !important;
 background-image: none !important;
}

.nama-big-blue {
	background: linear-gradient( rgba(102, 136, 202, 0.75), rgba(102, 136, 202, 0.75) ), url(http://www.nama-database.org/images/1/10/Nama_p_1.jpg) !important;
}
.nama-big-blue:hover {
 background-color: #0039A6 !important;
 background-image: none !important;
}

.nama-big-gray {
	background: linear-gradient( rgba(185, 187, 187, 0.72),rgba(185, 187, 187, 0.72) ), url(http://www.nama-database.org/images/a/ab/Nama_p_5.jpg) !important;
}
.nama-big-gray:hover {
 background-color: #8B8D8E !important;
 background-image: none !important;
}

.nama-big-btn a, .nama-big-btn a:visited {
	color: white !important;
	display: block;
}

#filter-query-page table {
	width: 100%;
}

#filter-query-page table td {
	/*overflow: hidden;
	white-space: nowrap;
	word-wrap: normal;
	text-overflow: clip;
	height: 18px;*/
}

.highlights {
 width: 100%;
 overflow: hidden;
}

.highlights .h-nama-item {
 width: 235px;
 padding: 15px;
 text-align: center;
 display: inline-block;
 margin-right: 30px;
 border: 1px solid gray;
 margin-bottom: 30px;
 height: 300px;
 float: left;
}
.highlights .h-nama-title {
 width: 100%;
 text-align: center;
 font-weight: bold;
 margin-bottom: 10px;
}
.highlights .h-nama-image {
 width: 100%;
 max-height: 150px;
 text-align: center;
 margin-bottom: 10px;
}
.highlights .h-nama-item img {
 max-width: 235px;
 max-height: 150px;
}
.highlights .h-nama-description {
 color: gray;
}

label[for="mw-input-wpSubject"], #mw-input-wpSubject {
 display: none;
}

.nama-big-btn {
 text-align: center;
 height: 400px;
 width: 90%;
 min-width: 120px;
 border: 1px solid gray;
 margin-right: 20px;
 background-color: gray;
}

.nama-half-btn a {
 
}

.nama-big-btn a {
 margin-top:20px;
 font-weight: bold;
}

.nama-big-btn .desc {
	display: none;
	margin-top: 10px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.61);
}
.nama-big-btn:hover .desc {
	display: block;
}

.nama-big-btn a {
 color: white;
}

table.resources {
 width: 100%;
}
table.res-inner {
 width: 100%;
}

.nama-blue{
 background-color: #6688CA !important;
}
.nama-blue:hover {
 background-color: #3361B8 !important;
}
.nama-green {
 background-color: #AFD466 !important;
}
.nama-green:hover {
 background-color: #95C633 !important;
}

.accordion {
   margin: 10px; 
}  
.accordion > div {
      padding: 10px;
      border: 1px solid white;
      margin-left: 0px;
      border-bottom: 0px;
}
.accordion span {
        display: block;
        color: white;
        font-weight: bold;
      }
.accordion .ac-text {
     border-top: 0; 
     font-size: 12px;
 overflow: hidden;
}
.accordion .ac-title {
 cursor: pointer;
 border-bottom: 1px solid white;
 background-color: #3361B8;
 color: white;
}
.accordion .ac-text:last-child {
border-top: 1px solid white;
       position: relative;
       top: -1px;
}

.nama-button {
 width: 260px;
height: 35px;
background-color: #B9BBBB;
color: white;
margin: 0 0 15px 0;
text-align: center;
line-height: 33px;
border: 1px solid rgba(0, 0, 0, 0.26);
}
.nama-button a {
 color: white !important;
 text-decoration: none;
}
.nama-button:hover {
 background-color: #A2A4A4;
}

#f-poweredbyico { display: none; }


/* don't display titles on the Main1 and 2 */ 
body.page-Main_Page h1.firstHeading { display:none; } 
body.page-Main2 h1.firstHeading { display:none; }