321 lines
6.1 KiB
CSS
321 lines
6.1 KiB
CSS
/*
|
|
Theme Name: Rainbow
|
|
Author: Marcoverga86, DeltaLima
|
|
Version: 2.2
|
|
Module: common.css
|
|
*/
|
|
|
|
/* ===== GENERAL (redefinition HTML tag) ===== */
|
|
html {
|
|
font-size: 14px;
|
|
font-family: Tahoma, 'Lucida Grande', 'Trebuchet MS', arial, Helvetica, sans-serif;
|
|
margin: 0;
|
|
padding: 0
|
|
}
|
|
|
|
body {
|
|
color: #CCCCCC;
|
|
padding: 0;
|
|
text-align: center;
|
|
background-image: url("../imgs/background.jpg");
|
|
background-size: cover;
|
|
background-position: bottom center;
|
|
background-repeat: no-repeat;
|
|
background-size:cover;
|
|
background-attachment:fixed;
|
|
background-color: #222;
|
|
text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
|
|
}
|
|
|
|
hr { display: none }
|
|
p { margin: .5em 0 }
|
|
img { border: none }
|
|
|
|
blockquote {
|
|
width: 90%;
|
|
margin: 1em 1em;
|
|
padding: 0 10px;
|
|
border-left: 10px solid #daaa55;
|
|
background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
|
|
}
|
|
|
|
pre, code {
|
|
font-family: Lucida Console, Monaco, monospace;
|
|
font-size: 90%;
|
|
}
|
|
|
|
pre {
|
|
border: 1px solid #555;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
color: #CCCCCC;
|
|
overflow: auto;
|
|
width: 90%;
|
|
margin: 1em 1em;
|
|
padding: 5px 10px;
|
|
border-radius: 5px;
|
|
box-shadow: 3px 3px 6px black;
|
|
}
|
|
|
|
:not(pre) > code {
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
border-radius: 3px;
|
|
padding: 3px 4px;
|
|
}
|
|
|
|
ul, li, ol { margin: 0; padding: 0 }
|
|
|
|
/* === Form === */
|
|
form { margin: 1em 0 }
|
|
|
|
fieldset {
|
|
margin: 0 0 1em 0;
|
|
padding: .5em;
|
|
border: #ddd solid 1px
|
|
}
|
|
|
|
legend {
|
|
color: white;
|
|
font-size: 80%;
|
|
font-style: oblique
|
|
}
|
|
|
|
input, textarea {
|
|
padding: .1em;
|
|
border: 1px solid #315A94;;
|
|
font-family: 'Trebuchet MS', Tahoma, 'Times New Roman';
|
|
}
|
|
|
|
input, admin-static-filename {
|
|
font-weight:bold;
|
|
background-color: #A29D7D;
|
|
}
|
|
|
|
input:hover, input:focus {
|
|
border: 1px solid #000099;
|
|
background-color: #DAAA55;
|
|
}
|
|
|
|
select { background-color: #ddd }
|
|
|
|
textarea {
|
|
font-size: 100%;
|
|
font-family: 'Lucida Grande', 'Trebuchet MS', arial, Helvetica, sans-serif;
|
|
width: 99%;
|
|
margin-top: .1em;
|
|
margin-bottom: 1em;
|
|
background-color: #999999;
|
|
}
|
|
|
|
/* ===== LINKS GENERAL ===== */
|
|
a:link, a:visited {
|
|
color: #e69138;
|
|
font-weight: bold;
|
|
text-decoration: none
|
|
}
|
|
|
|
a:hover {
|
|
color: #f6b26b;
|
|
text-decoration: underline
|
|
}
|
|
|
|
/* ===== HEADERS TAGS ===== */
|
|
h1, h2, h3, h4, h5, h6 { margin:0 }
|
|
h1 { font-size: 3em }
|
|
h2 { font-size: 2.3em }
|
|
h3 { font-size: 1.8em }
|
|
h4 { font-size: 1.5em }
|
|
h5 { font-size: 1.2em }
|
|
h6 { font-size: 0.9em }
|
|
|
|
/* ===== DIV CONTAINER ALL ELEMENTS BLOCK ===== */
|
|
#body-container {
|
|
text-align: left;
|
|
width: 72% !important;
|
|
width: 72%; /* fix for I.E. */
|
|
margin: 0 auto 20px auto;
|
|
padding: 5px;
|
|
|
|
background-color: rgba(45, 45, 45, 0.8);
|
|
box-shadow: 3px 3px 15px rgba(0,0,0,0.8);
|
|
overflow: hidden;
|
|
border-radius: 15px;
|
|
}
|
|
|
|
/* ===== HEAD ===== */
|
|
#head {
|
|
width: 680px; !important;
|
|
width: 680px;
|
|
height: 128px;
|
|
font-family: Tahoma, sans-serif;
|
|
float: center;
|
|
}
|
|
#head-bubble {
|
|
background-image: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
|
|
border-radius: 15px;
|
|
width: 100% !important;
|
|
height: 124px;
|
|
margin: 5px 0 0 5px ;
|
|
}
|
|
|
|
#title-container {
|
|
width: 580px;
|
|
float: left;
|
|
}
|
|
#logo-container {
|
|
padding-right: 10px;
|
|
padding-top: 3px;
|
|
float: right;
|
|
|
|
}
|
|
#logo-img {
|
|
max-height: 120px;
|
|
max-width: 90px;
|
|
}
|
|
|
|
#clear-container {
|
|
clear: both;
|
|
}
|
|
|
|
#head a {
|
|
color: white;
|
|
font-weight: normal;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#head h1 { padding: 35px 20px 0 25px }
|
|
|
|
.subtitle {
|
|
font-style: oblique;
|
|
color: white;
|
|
margin: .5em 0 0 0;
|
|
padding-left: 25px;
|
|
}
|
|
|
|
/* ===== MAIN ===== */
|
|
#main h1, #main h2, #main h3, #main h4, #main h5, #main h6 {
|
|
margin: 0 0 10px 0;
|
|
font-weight: normal;
|
|
}
|
|
|
|
#main {
|
|
/*float:right;*/
|
|
overflow: hidden;
|
|
display: inline-block;
|
|
position: relative;
|
|
width: 73% !important;
|
|
width: 73%;
|
|
font-size: 100%;
|
|
margin: .8em 0.5em 0 1.2em;
|
|
}
|
|
|
|
#main p {
|
|
line-height: 1.5em;
|
|
margin-top: 1.2em;
|
|
}
|
|
|
|
#main img { margin: .2em }
|
|
|
|
/* === List === */
|
|
#main ul {
|
|
list-style-type: disc;
|
|
padding: 0 0 0 1.6em
|
|
}
|
|
|
|
ol li, ul li { padding-bottom: 0.9em }
|
|
|
|
#main ol {
|
|
list-style-position: inside;
|
|
padding: 0 1.6em 0 1.6em
|
|
}
|
|
|
|
/* ===== COMMENTS ===== */
|
|
#comments li {
|
|
margin: 0 0 1.5em 0;
|
|
padding: 5px;
|
|
border-top: 2px solid #f6b26b;
|
|
border-bottom: 2px solid #f6b26b;
|
|
background: #2D2D2D;
|
|
}
|
|
|
|
#commentform fieldset p { margin: 0 0 .5em 0 }
|
|
#commentform textarea { background-color: #999999; }
|
|
#commentform textarea:hover { background-color: #777777; }
|
|
#comments p { padding-left: 20px }
|
|
#comments li.comment-admin strong.comment-name { font-size:160% }
|
|
|
|
#comments li.comment-admin {
|
|
background-color: #393939;
|
|
padding: 1em;
|
|
}
|
|
|
|
/* === Class of main block === */
|
|
.date, p.date {
|
|
font-size: 11px;
|
|
margin: 3px 0 3px 0;
|
|
padding-bottom: 2px;
|
|
font-weight: normal;
|
|
border-bottom: 2px solid #333333;
|
|
}
|
|
|
|
.entry {
|
|
margin: 0 0 1.5em 0;
|
|
padding: 0;
|
|
overflow: hidden; /* floating images fix */
|
|
height:1%; /* i.e. hack*/
|
|
}
|
|
|
|
.entry p { font-size: 16px }
|
|
|
|
.entry-title {
|
|
color: #daaa55;
|
|
}
|
|
|
|
#main .entrytitle {
|
|
font-family: Candara, 'Cataneo BT', 'book antiqua', georgia, garamond, times, 'times new roman';
|
|
margin: 0;
|
|
}
|
|
|
|
.entry-footer a { color: #A29D7D }
|
|
.entry-footer a:hover { color: #4B4B4B }
|
|
|
|
.entry-footer {
|
|
text-align: right;
|
|
font-family: 'Lucida Grande', 'Trebuchet MS', arial, Helvetica, sans-serif;
|
|
font-size: 0.9em;
|
|
margin: 2em 0 .5em 0;
|
|
margin-left: 58%;
|
|
border-top: 2px solid #333333;
|
|
}
|
|
|
|
.admincontrols { /* [edit] and [delete] */
|
|
float: right;
|
|
font-size: 80%
|
|
}
|
|
|
|
.buttonbar { text-align: center }
|
|
|
|
.buttonbar input {
|
|
text-align: center;
|
|
margin: .1em .5em;
|
|
padding: 0 1em
|
|
}
|
|
|
|
.navigation { /* next entries & previous entries link */
|
|
font-size: 80%;
|
|
margin-bottom: 5em
|
|
}
|
|
|
|
/* ===== FOOTER ===== */
|
|
#footer {
|
|
text-align: center;
|
|
background-image: linear-gradient(to bottom, rgba(0,0,0,0.0), rgba(0,0,0,0.2));
|
|
border-top-right-radius: 5px;
|
|
border-top-left-radius: 5px;
|
|
border-bottom-right-radius: 15px;
|
|
border-bottom-left-radius: 15px;
|
|
clear: both;
|
|
font-size: 80%;
|
|
padding: 8px;
|
|
margin: 0px 5px 5px 5px;
|
|
}
|