User:Felice/formatingMaster.css
Jump to navigation
Jump to search
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)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
{{OLPC}}
<pre>
/*
Title: CSS Master Formating
Author: Cristian Deschamps, cristian.deschamps@nurun.com
Updated: Jan 16 2007
Content: Master Formating
Body
Links
Common Elements
Form Elements
Misc
Fix Float
*/
/* ---[ Master Formating ]------------------------------- */
/* ---[ Body ]------------------------------- */
html {
/* overflow: -moz-scrollbars-vertical; */
}
body {
margin: 0;
padding: 8px 0 0 24px;
text-align: left;
font-family: verdana, arial, sans-serif;
font-size: 76%;
line-height: 1.15em;
color: #404040;
}
/* ---[ Links ]------------------------------- */
a {
color: #464646;
text-decoration: underline;
}
a:hover {
color: #000;
text-decoration: underline;
}
/* ---[ Common Elements ]--------------------- */
div {
position: relative;
display: block;
margin: 0;
padding: 0;
}
p {
font-size: 110%;
margin: 0;
padding: 3px 0 9px 0;
line-height: 1.3em;
}
h1 {
display: none;
font-size: 130%;
font-weight: normal;
margin: 0;
padding: 0;
color: #f78f1e;
}
h2 {
font-size: 130%;
font-weight: normal;
margin: 0;
padding: 0 0 12px 0;
color: #f78f1e;
line-height: 1.1em;
text-transform: lowercase;
}
h3 {
font-size: 120%;
font-weight: normal;
margin: 0;
padding: 3px 0 9px 0;
color: #f78f1e;
line-height: 1.1em;
}
h4, h5 {
font-size: 100%;
font-weight: normal;
margin: 0;
padding:0;
}
h1 a, h2 a, h3 a,
h1 a:hover, h2 a:hover {
text-decoration: none;
}
ul {
font-size: 100%;
margin: 10px 0 10px 35px;
}
li {
margin: 0 0 5px 0;
}
table {
font-size: 100%;
}
table p {
font-size: 100%;
}
code {
color: #7B9905;
font-size: 110%;
line-height: 1.2em;
text-align: left;
}
code strong {
color: #4E6200;
}
abbr, acronym, .popup {
font-style: normal;
border-bottom: 1px dotted #999;
cursor: help;
}
em {
font-style: italic;
}
strong {
font-weight: bold;
}
strike, del {
text-decoration: line-through;
}
ins {
text-decoration: none;
font-style: italic;
}
address {
margin: 0;
padding: 0;
font-style: normal;
}
sup {
font-size: 90%;
}
blockquote {
font-size: 110%;
line-height: 1.5em;
padding: 0;
margin: 0;
}
blockquote cite {
padding: 0;
margin: 0;
line-height: 1.2em;
}
blockquote p {
font-size: 100%;
margin: 0;
padding: 0 0 0 12px;
}
dl { }
dt { }
dd { line-height: 1.3em; }
/* ---[ Form Elements ]---------------------------------------- */
form {
padding: 0;
margin: 0;
}
button {
cursor: hand;
cursor: pointer;
}
fieldset {
position: relative;
margin: 6px 0 6px 0;
}
legend {
color: #7b9ad0;
font-weight: bold;
}
/* ---[ Misc. ]---------------------------------------- */
a img {
border: none;
}
/* ---[ Fix Float ]------------------------------- */
.clearfix:after {
content:".";
display:block;
height:0;
clear:both;
visibility:hidden;
}
.clearfix {
display:inline-block;
}
.clearfix {
display:block;
}
* html .clearfix {
height:1px;
}
</pre>
[[Category:Laptop.org]]