Difference between revisions of "MediaWiki:Common.css"

From Akvopedia
Jump to: navigation, search
Line 49: Line 49:
 
html body {
 
html body {
 
  // font-family: Akvopedia, sans-serif;
 
  // font-family: Akvopedia, sans-serif;
 +
}
 +
 +
/* Akvopedia portal pages */
 +
 +
.akvo-portal {
 +
  display: table;
 +
  text-align: center;
 +
  width: 100%;
 +
}
 +
 +
.akvo-portal-group-title {
 +
  font-size: 1.3em;
 +
  font-weight: bold;
 +
  min-height: 3.5em;
 +
}
 +
 +
.akvo-portal-body {
 +
  display: table-row;
 +
}
 +
 +
.akvo-portal-group {
 +
  width:20%;
 +
}
 +
 +
.akvo-portal-group:nth-child(2n+1) {
 +
  background-color:#efefef;
 +
}
 +
 +
.akvo-portal-group {
 +
  display: table-cell;
 +
}
 +
 +
.akvo-portal-entry {
 +
}
 +
 +
.akvo-portal-entry-caption {
 +
  min-height: 4.5em;
 +
  word-break: break-all;
 +
}
 +
 +
div#bodyContent .susana-page a {
 +
  color: #657a21;
 +
}
 +
 +
div#bodyContent .susana-page a:visited {
 +
  color: #7b9228;
 
}
 
}

Revision as of 08:49, 12 August 2014

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

.RSSReader-head h3 {
  font-size: 100%;
  overflow:hidden;
}

/* Link colors */

div#mw-panel div.portal div.body ul li a, div#mw-panel div.portal div.body ul li a:visited {
  color: #434343;
}

div#bodyContent a {
  color: #BE499B;
  font-weight: bold;
}

div#bodyContent a.new, div#bodyContent a.new:visited {
  color: #ba0000;
}

div#bodyContent a:visited {
  color: #995e8c;
}

/* Hide table of contents */
.toc, #toc { display: none; }

/* Reduce size of title. */
#firstHeading {
  font-size: 130%;
  font-weight: bold;
}

/* Sidebar panel headings. */
#mw-panel.collapsible-nav .portal > h3:first-of-type {
  font-weight: bold;
}

/* Malayalam fonts */
@font-face {
  font-family: Akvopedia;
  unicode-range: U+D00-D7F;
  src: local('Meera'), url('/resources/fonts/Meera_04.woff') format('woff'),
                       url('/resources/fonts/Meera_04.ttf') format('truetype');
}

html body {
 // font-family: Akvopedia, sans-serif;
}

/* Akvopedia portal pages */

.akvo-portal {
  display: table;
  text-align: center;
  width: 100%;
}

.akvo-portal-group-title {
  font-size: 1.3em;
  font-weight: bold;
  min-height: 3.5em;
}

.akvo-portal-body {
  display: table-row;
}

.akvo-portal-group {
  width:20%;
}

.akvo-portal-group:nth-child(2n+1) {
  background-color:#efefef;
}

.akvo-portal-group {
  display: table-cell;
}

.akvo-portal-entry {
}

.akvo-portal-entry-caption {
  min-height: 4.5em;
  word-break: break-all;
}

div#bodyContent .susana-page a {
  color: #657a21;
}

div#bodyContent .susana-page a:visited {
  color: #7b9228;
}