MediaWiki:Common.css

From FreeCAD Documentation
Revision as of 10:43, 13 May 2010 by Jriegel (talk | contribs)

Note: After publishing, 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 / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* FreeCAD CSS template by Yorik */

/* general settings ******************************* */

a, #bodyContent a.external {
  color: #0092E8;
  }

a.new, .new a, #p-cactions .new a, #p-personal a.new {
  color: #FF1F00;
  }

h1 {
  background: #0092E8;
  border: none;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  color: white;
  font-weight: bold;
  padding: 5px;
  }

h2 {
  font-weight: normal;
  }

#bodyContent h1, #bodyContent h2 {
  margin-bottom: 0;
  }

pre {
  border: 1px solid #0092E8;
  }

/* homepage ******************************* */

body.page-Main_Page, body.page-Alt_Main_Page {
  text-align: justify;
  } 

body.page-Main_Page h1, body.page-Alt_Main_Page h1 { 
  background: none;
  margin-bottom: 0;
  border-bottom: 1px solid #638C9C;
  padding-bottom: 15px;
  }

body.page-Main_Page h3, body.page-Alt_Main_Page h3 {
  color: white;
  } 

body.page-Main_Page h1 .mw-headline, body.page-Alt_Main_Page h1 .mw-headline { 
  font-size: 2em;
  letter-spacing: 20px;
  }

body.page-Main_Page h2, body.page-Alt_Main_Page h2 { 
  color: #FFF;
  border-bottom: none;
  }

body.page-Main_Page h1.firstHeading, body.page-Alt_Main_Page h1.firstHeading { 
  display:none; 
  }

.page-Alt_Main_Page #content, .page-Main_Page #content {
  background: transparent;
  color: white;
  }

.main-toolbox {
  float: right;
  width: 300px;
  margin-left: 25px;
  padding-top: 60px;
  }

.main-menu {
  margin-bottom: 40px;
  }

.main-menu a {
  color: #FFF !important;
  }

.main-content {
  display: table;
  }

#feedholder {
  max-width: 300px;
  border: 1px solid #0092E8;
  background-color:#F9F9F9;
  padding:1.2em;
  font-family: monospace;
  color: black;
  }

.downloadbox {
  background: white url(/userapps/mediawiki/yorikvanhavre/nfs/user/y/yo/yorikvanhavre/6/65/Download.jpg) top left no-repeat;
  padding: 10px 10px 10px 80px; 
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  text-align: left;
  margin-bottom: 15px;
  color: black;
  font-weight: bold;
  }

#bodyContent .downloadbox li a.external {
  display: box;
  padding: 3px 13px 3px 3px;
  }
  
/* wikibars ******************************** */

#p-cactions {
  padding: 0 60px;
  top: 3px;
  width: auto;
  z-index: 2;
  }

#p-cactions li, #p-cactions li a, #p-personal li a {
  color: #0092E8;
  background: none;
  padding: 1px 5px !important;
  margin: 0 !important;
  }

#globalWrapper {
  background: #171a2a url(/userapps/mediawiki/yorikvanhavre/nfs/user/y/yo/yorikvanhavre/1/1f/Background.jpg) top left no-repeat !important;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  width: auto !important;
  margin:5px;  
  }

.portlet {
  width: auto;
  padding-right: 5px;
  }

.pBody {
  background: transparent;
  border: none;
  padding: 0
  }

.pBody a {
  color: white;
  padding: 1px 5px !important;
  }

.portlet ul {
  margin: 0;
  }

.portlet li {
  margin-left: 5px;
  list-style-position: inside;
  }

#column-one {
  margin-left: 3px;
  padding-top: 160px;
  }

#p-cactions li a:hover, #p-personal li a:hover, #p-cactions li.selected a, #bodyContent .downloadbox li a.external:hover {
  color: white;
  background: #0092E8;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  text-decoration: none;
  }

/* content ******************************** */

#column-content {
  margin: 0 0.5em 0.6em -12.8em;
  padding: 5px;
  width: 96%;
  }

#content {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  }

#content, #p-cactions li {
  border: none;
  padding: 0.6em 1em 1em;
  }

/* sidebar ******************************** */

.portlet h5 {
  color: #638C9C;
  text-transform: uppercase;
  font-size: 75%;
  height: 15px;
  display: block;
  margin-bottom: 5px;
  border-bottom: 1px solid #638C9C;
  padding-left: 10px;
  }

#p- h5 {
  display: none;
  }

#p-search, #p-Documentation, #p-tb, #p-languages {
  max-width: 180px;
  }

#n-Basic, #n-Advanced, #n-Development, #n-Using-FreeCAD, #n-Python-Scripting {
  list-style: none;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 3px 0;
  }

#n-Home {
  list-style-image: url(https://sourceforge.net/userapps/mediawiki/yorikvanhavre/nfs/user/y/yo/yorikvanhavre/9/9a/Home.png);
  }

#n-Features {
  list-style-image: url(http://sourceforge.net/userapps/mediawiki/yorikvanhavre/nfs/user/y/yo/yorikvanhavre/5/53/Features16.png);
  }

#n-Screenshots {
  list-style-image: url(http://sourceforge.net/userapps/mediawiki/yorikvanhavre/nfs/user/y/yo/yorikvanhavre/e/ef/Screenshots16.png);
  }

#n-Downloads {
  list-style-image: url(http://sourceforge.net/userapps/mediawiki/yorikvanhavre/nfs/user/y/yo/yorikvanhavre/e/ed/Download16.png);
  }

#n-Getting-Started {
  list-style-image: url(http://sourceforge.net/userapps/mediawiki/yorikvanhavre/nfs/user/y/yo/yorikvanhavre/b/b4/Gettingstarted16.png);
  }

#n-FAQ {
  list-style-image: url(http://sourceforge.net/userapps/mediawiki/yorikvanhavre/nfs/user/y/yo/yorikvanhavre/8/86/Faq16.png);
  }

#n-Forum {
  list-style-image: url(http://sourceforge.net/userapps/mediawiki/yorikvanhavre/nfs/user/y/yo/yorikvanhavre/6/6a/Forum16.png);
  }

#footer {
  background: none;
  border: none;
  color: #fff;
  }