|
|
| (37 intermediate revisions by the same user not shown) |
| Line 1: |
Line 1: |
| | /* CUSTOM CSS FOR MYSELF */ | | /* CUSTOM CSS FOR MYSELF */ |
| | | | |
| − | .articlebg {
| + | DIV#contentSub { padding: 7px 0; margin-bottom: 10px;} |
| − | font-family: Droid Serif, helvetica, sans-serif;
| + | |
| − | background-image:url('http://thegrove.com.br/metodo/images/d/de/Bgtexture.jpg');
| + | div#toc { padding-bottom: 10px; } |
| − | } | + | |
| | + | h2 a, h3 a, h4 a, h5 a, h6 a { text-transform: lowercase; } |
| | | | |
| − | .articlebg a {
| + | #toc ul { |
| − | color: rgb(142, 198, 63); | + | position: relative; |
| − | text-shadow: 0px 1px 0px rgb(255, 255, 255); | + | left: 20px; |
| | } | | } |
| | | | |
| − | .articlebg h1 {
| + | /* Styling Checkboxes and Radio buttons |
| − | background-attachment: scroll;
| |
| − | background-clip: border-box;
| |
| − | background-color: transparent;
| |
| − | background-image: none;
| |
| − | background-origin: padding-box;
| |
| − | background-position: 0% 0%;
| |
| − | background-repeat: repeat;
| |
| − | background-size: auto auto;
| |
| − | border-bottom-color: rgb(64, 72, 83);
| |
| − | border-bottom-style: none;
| |
| − | border-bottom-width: 0px;
| |
| − | border-image-outset: 0 0 0 0;
| |
| − | border-image-repeat: stretch stretch;
| |
| − | border-image-slice: 100% 100% 100% 100%;
| |
| − | border-image-source: none;
| |
| − | border-image-width: 1 1 1 1;
| |
| − | border-left-color: rgb(64, 72, 83);
| |
| − | border-left-style: none;
| |
| − | border-left-width: 0px;
| |
| − | border-right-color: rgb(64, 72, 83);
| |
| − | border-right-style: none;
| |
| − | border-right-width: 0px;
| |
| − | border-top-color: rgb(64, 72, 83);
| |
| − | border-top-style: none;
| |
| − | border-top-width: 0px;
| |
| − | color: rgb(64, 72, 83);
| |
| − | font-family: "Droid Sans",Arial,"Helvetica Neue","Lucida Grande",sans-serif;
| |
| − | font-size: 26px;
| |
| − | font-size-adjust: none;
| |
| − | font-stretch: normal;
| |
| − | font-style: normal;
| |
| − | font-variant: normal;
| |
| − | font-weight: 700;
| |
| − | line-height: 30px;
| |
| − | margin-bottom: 28px;
| |
| − | margin-left: 0px;
| |
| − | margin-right: 0px;
| |
| − | margin-top: 2px;
| |
| − | outline-color: rgb(64, 72, 83);
| |
| − | outline-style: none;
| |
| − | outline-width: 0px;
| |
| − | padding-bottom: 0px;
| |
| − | padding-left: 0px;
| |
| − | padding-right: 0px;
| |
| − | padding-top: 0px;
| |
| − | text-shadow: rgb(255, 255, 255) 0px 1px 0px;
| |
| − | vertical-align: baseline;
| |
| − | -moz-border-bottom-colors: none;
| |
| − | -moz-border-left-colors: none;
| |
| − | -moz-border-right-colors: none;
| |
| − | -moz-border-top-colors: none;
| |
| − | -moz-font-feature-settings: normal;
| |
| − | -moz-font-language-override: normal;
| |
| − | }
| |
| | | | |
| − | .articlebg p {
| + | label { |
| − | background-attachment: scroll; | + | display: inline-block; |
| − | background-clip: border-box;
| + | cursor: pointer; |
| − | background-color: transparent; | + | position: relative; |
| − | background-image: none; | + | padding-left: 25px; |
| − | background-origin: padding-box; | + | margin-right: 15px; |
| − | background-position: 0% 0%;
| |
| − | background-repeat: repeat;
| |
| − | background-size: auto auto;
| |
| − | border-bottom-color: rgb(85, 85, 85);
| |
| − | border-bottom-style: none;
| |
| − | border-bottom-width: 0px;
| |
| − | border-image-outset: 0 0 0 0;
| |
| − | border-image-repeat: stretch stretch;
| |
| − | border-image-slice: 100% 100% 100% 100%;
| |
| − | border-image-source: none;
| |
| − | border-image-width: 1 1 1 1;
| |
| − | border-left-color: rgb(85, 85, 85);
| |
| − | border-left-style: none;
| |
| − | border-left-width: 0px;
| |
| − | border-right-color: rgb(85, 85, 85);
| |
| − | border-right-style: none;
| |
| − | border-right-width: 0px; | |
| − | border-top-color: rgb(85, 85, 85);
| |
| − | border-top-style: none;
| |
| − | border-top-width: 0px;
| |
| − | color: rgb(85, 85, 85);
| |
| − | font-family: "Droid Sans",Arial,"Helvetica Neue","Lucida Grande",sans-serif;
| |
| | font-size: 13px; | | font-size: 13px; |
| − | font-size-adjust: none;
| |
| − | font-stretch: normal;
| |
| − | font-style: normal;
| |
| − | font-variant: normal;
| |
| − | font-weight: 400;
| |
| − | line-height: 20px;
| |
| − | margin-bottom: 20px;
| |
| − | margin-left: 0px;
| |
| − | margin-right: 0px;
| |
| − | margin-top: 0px;
| |
| − | outline-color: rgb(85, 85, 85);
| |
| − | outline-style: none;
| |
| − | outline-width: 0px;
| |
| − | padding-bottom: 0px;
| |
| − | padding-left: 0px;
| |
| − | padding-right: 0px;
| |
| − | padding-top: 0px;
| |
| − | text-shadow: rgb(255, 255, 255) 0px 1px 0px;
| |
| − | vertical-align: baseline;
| |
| − | -moz-border-bottom-colors: none;
| |
| − | -moz-border-left-colors: none;
| |
| − | -moz-border-right-colors: none;
| |
| − | -moz-border-top-colors: none;
| |
| − | -moz-font-feature-settings: normal;
| |
| − | -moz-font-language-override: normal;
| |
| | } | | } |
| | | | |
| − | articlebg strong {
| + | input[type=radio], |
| − | background-attachment: scroll;
| + | input[type=checkbox] { |
| − | background-clip: border-box;
| + | display: none; |
| − | background-color: transparent;
| |
| − | background-image: none;
| |
| − | background-origin: padding-box;
| |
| − | background-position: 0% 0%;
| |
| − | background-repeat: repeat;
| |
| − | background-size: auto auto;
| |
| − | border-bottom-color: rgb(64, 72, 83);
| |
| − | border-bottom-style: none;
| |
| − | border-bottom-width: 0px;
| |
| − | border-image-outset: 0 0 0 0;
| |
| − | border-image-repeat: stretch stretch;
| |
| − | border-image-slice: 100% 100% 100% 100%;
| |
| − | border-image-source: none;
| |
| − | border-image-width: 1 1 1 1;
| |
| − | border-left-color: rgb(64, 72, 83);
| |
| − | border-left-style: none;
| |
| − | border-left-width: 0px;
| |
| − | border-right-color: rgb(64, 72, 83);
| |
| − | border-right-style: none;
| |
| − | border-right-width: 0px;
| |
| − | border-top-color: rgb(64, 72, 83);
| |
| − | border-top-style: none;
| |
| − | border-top-width: 0px;
| |
| − | color: rgb(64, 72, 83);
| |
| − | font-family: "Droid Sans",Arial,"Helvetica Neue","Lucida Grande",sans-serif;
| |
| − | font-size: 13px;
| |
| − | font-size-adjust: none;
| |
| − | font-stretch: normal;
| |
| − | font-style: normal;
| |
| − | font-variant: normal;
| |
| − | font-weight: 700;
| |
| − | line-height: 20px;
| |
| − | margin-bottom: 0px;
| |
| − | margin-left: 0px;
| |
| − | margin-right: 0px;
| |
| − | margin-top: 0px;
| |
| − | outline-color: rgb(64, 72, 83);
| |
| − | outline-style: none;
| |
| − | outline-width: 0px;
| |
| − | padding-bottom: 0px;
| |
| − | padding-left: 0px;
| |
| − | padding-right: 0px;
| |
| − | padding-top: 0px;
| |
| − | text-shadow: rgb(255, 255, 255) 0px 1px 0px;
| |
| − | vertical-align: baseline;
| |
| − | -moz-border-bottom-colors: none;
| |
| − | -moz-border-left-colors: none;
| |
| − | -moz-border-right-colors: none;
| |
| − | -moz-border-top-colors: none;
| |
| − | -moz-font-feature-settings: normal;
| |
| − | -moz-font-language-override: normal;
| |
| | } | | } |
| | + | label:before { |
| | + | content: ""; |
| | + | display: inline-block; |
| | | | |
| | + | width: 16px; |
| | + | height: 16px; |
| | | | |
| − | /* Styling ordered lists */
| + | margin-right: 10px; |
| − | | + | position: absolute; |
| − | ol{
| + | left: 0; |
| − | counter-reset: li; /* Initiate a counter */ | + | bottom: 1px; |
| − | list-style: none; /* Remove default numbering */ | + | background-color: #95BE8C; |
| − | *list-style: decimal; /* Keep using default numbering for IE6/7 */ | + | box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, .3), 0px 1px 0px 0px rgba(255, 255, 255, .8); |
| − | font: 15px 'trebuchet MS', 'lucida sans'; | |
| − | padding: 0; | |
| − | margin-bottom: 4em;
| |
| − | text-shadow: 0 1px 0 rgba(255,255,255,.5); | |
| | } | | } |
| | | | |
| − | ol ol{
| + | .radio label:before { |
| − | margin: 0 0 0 2em; /* Add some left margin for inner lists */ | + | border-radius: 8px; |
| | } | | } |
| − | | + | .checkbox label { |
| − | ol > li {
| + | margin-bottom: 10px; |
| − | position: relative;
| |
| − | display: block;
| |
| − | padding: .4em .4em .4em 2em;
| |
| − | *padding: .4em;
| |
| − | margin: .5em 0; | |
| − | background: #ddd;
| |
| − | color: #444;
| |
| − | text-decoration: none;
| |
| − | border-radius: .3em;
| |
| − | transition: all .3s ease-out;
| |
| | } | | } |
| − | | + | .checkbox label:before { |
| − | ol > li:hover {
| + | border-radius: 3px; |
| − | background: #eee;
| |
| | } | | } |
| | | | |
| − | ol > li:hover:before {
| + | input[type=radio]:checked + label:before { |
| − | transform: rotate(360deg); | + | content: "\2022"; |
| | + | color: #f3f3f3; |
| | + | font-size: 28px; |
| | + | text-align: center; |
| | + | line-height: 17px; |
| | } | | } |
| | | | |
| − | ol > li:before {
| + | input[type=checkbox]:checked + label:before { |
| − | content: counter(li); | + | content: "\2713"; |
| − | counter-increment: li; | + | text-shadow: 1px 1px 1px rgba(0, 0, 0, .2); |
| − | position: absolute;
| + | font-size: 15px; |
| − | left: -1.3em;
| + | color: #f3f3f3; |
| − | top: 50%;
| |
| − | margin-top: -1.3em; | |
| − | background: #87ceeb; | |
| − | height: 2em;
| |
| − | width: 2em;
| |
| − | line-height: 2em;
| |
| − | border: .3em solid #fff;
| |
| | text-align: center; | | text-align: center; |
| − | font-weight: bold;
| + | line-height: 15px; |
| − | border-radius: 2em;
| |
| − | transition: all .3s ease-out;
| |
| − | }
| |
| − | | |
| − | /* OLD STYLE
| |
| − | ol {
| |
| − | counter-reset:li; /* Initiate a counter */
| |
| − | margin-left:0; /* Remove the default left margin */
| |
| − | padding-left:0; /* Remove the default left padding */
| |
| − | }
| |
| − | ol > li {
| |
| − | position:relative; /* Create a positioning context */
| |
| − | margin:0 0 6px 2em; /* Give each list item a left margin to make room for the numbers */
| |
| − | padding:4px 8px; /* Add some spacing around the content */
| |
| − | list-style:none; /* Disable the normal item numbering */
| |
| − | border-top:2px solid #666;
| |
| − | background:#f6f6f6;
| |
| − | }
| |
| − | ol > li:before {
| |
| − | content:counter(li); /* Use the counter as content */
| |
| − | counter-increment:li; /* Increment the counter by 1 */
| |
| − | /* Position and style the number */
| |
| − | position:absolute;
| |
| − | top:-2px;
| |
| − | left:-2em;
| |
| − | -moz-box-sizing:border-box;
| |
| − | -webkit-box-sizing:border-box;
| |
| − | box-sizing:border-box;
| |
| − | width:2em;
| |
| − | /* Some space between the number and the content in browsers that support
| |
| − | generated content but not positioning it (Camino 2 is one example) */
| |
| − | margin-right:8px;
| |
| − | padding:4px;
| |
| − | border-top:2px solid #666;
| |
| − | color:#fff;
| |
| − | background:#666;
| |
| − | font-weight:bold;
| |
| − | font-family:"Helvetica Neue", Arial, sans-serif;
| |
| − | text-align:center; | |
| | } | | } |
| − | li ol,
| + | */ |
| − | li ul {margin-top:6px;}
| |
| − | ol ol li:last-child {margin-bottom:0;}
| |
| − | */ | |