1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-07-05 17:08:29 +00:00
Radicale/static/css/style.css
2014-08-03 14:05:41 +02:00

307 lines
4.7 KiB
CSS

@font-face {
font-family: "caviardreams";
src: url(CaviarDreams_Bold.ttf);
}
html {
background: url(img/top.jpg) repeat-x 0 82px,
url(img/back.jpg) #f4f2f2;
font-family: sans-serif;
min-height: 100%;
width: 100%;
}
body {
background: url(img/radicale_back.png) no-repeat 100% 100% fixed,
url(img/r.jpg) no-repeat 100% 50% fixed,
url(img/green.jpg) repeat-x left 2em;
color: #444;
margin: -2em 0 0 0;
min-height: 100%;
padding-bottom:2em;
position: absolute;
width:100%;
}
a {
color: #4e9a06;
text-decoration: none;
transition: color 0.3s linear;
}
a:hover, a:focus {
color: #376e04;
}
table {
border-collapse: collapse;
margin: auto;
}
table td {
border: 1px #cbb solid;
padding: 0.5em;
}
dt {
margin: 0.8em 0 0.2em 0;
}
code {
background: rgba(0, 150, 0, 0.03);
border-radius: 0.25em;
}
h2 {
background: url(img/icon.png) no-repeat top left;
color: #a40000;
font-family: "caviardreams";
margin-bottom:35px;
padding: 8px 0 0 35px ;
text-transform: uppercase;
}
h3 {
color: #a40000;
font-family: "caviardreams";
font-size: 1.4em;
margin: 0.5em 0;
}
h3 a {
background: url(img/fleche.png) no-repeat 0 35%;
color: #a40000;
font-family: "caviardreams";
padding-left:20px;
}
h3 a:hover {
color: #a40000;
}
h4, h4 a {
border-bottom: 1px dotted #e6e6e6;
color: #cb0000;
font-family: Courier,monospace;
font-size: 1.1em;
}
section h4 a:hover {
color: #cb0000;
}
h5, h5 a {
font-family: "caviardreams";
font-size: 1em;
text-transform: uppercase;
}
body > header {
position: absolute;
top:2em;
}
h1 {
box-shadow: 0 0 10px #D6D6D6;
position: relative;
top: -50px;
transform: rotate(-35deg);
z-index:2;
}
h1 a {
background: url(img/radicale.png)white center center no-repeat;
color: transparent;
display: block;
height: 250px;
transition: all 0.7s;
width: 165px;
}
h1 a:hover, h1 a:focus {
background-color: #f9f9f9;
box-shadow:0px 0px 5px rgba(0, 0, 0, 0.6);
color: transparent;
}
nav {
display: table;
margin: 2em auto 150px;
table-layout: fixed;
width: 900px;
z-index:-1;
}
nav ul {
display: table-row;
font-family: "caviardreams";
font-size: 1.3em;
text-align: center;
padding:0;
}
nav li {
display: table-cell;
}
nav li a {
color: #83dd00;
display: block;
margin: auto;
line-height:82px;
text-align:center;
text-shadow: 0 0 3px black;
}
nav li a:hover, nav li a:focus{
color: #83dd00;
text-shadow: none;
}
nav li a[href] {
background-image: linear-gradient(white, white);
background-position: 0 -82px;
background-repeat: no-repeat;
color: white;
transition: all 0.6s;
}
nav li a[href]:hover,
nav li a[href]:focus {
background-position: 0 0;
box-shadow:0px 0px 10px #636363;
color: #4e9a06;
}
body > section {
margin:0 auto 0;
max-width: 70em;
width: 75%;
}
.contents {
background: rgba(46, 52, 54, 0.05);
border-radius: 5px;
box-shadow: 5px 5px 5px rgba(46, 52, 54, 0.2);
color: black;
margin: 0 auto;
padding: 0.5em 2em;
width: 60%;
}
.contents a {
color: grey;
}
.contents a:hover {
color: black;
}
.contents ul {
list-style-image: url(img/puce1.png);
}
.contents ul li li {
list-style: disc;
}
article {
background: rgba(255, 255,254, 0.5);
border-radius: 5px;
box-shadow: 0px 0px 10px #D6D6D6;
margin: -30px auto 50px;
padding: 20px;
}
.important, .warning, .note {
border-radius: 3px;
font-size: 0.9em;
margin: 1em 10%;
padding: 2px 15px;
}
.important {
background: rgba(180, 0, 0, 0.1);
border: 1px dotted #a40000;
}
.warning {
background: rgba(220, 120, 0, 0.1);
border: 1px dotted #a46600;
}
.note {
background: rgba(78, 154, 6, 0.1);
border: 1px dotted #4e9a06;
}
aside > header {
opacity: 0.8;
font-size: 1.15em;
font-variant: small-caps;
font-weight: bold;
margin: 1em 0;
}
.docinfo {
display: none;
}
.abstract header {
display: none;
}
.abstract {
opacity:0.8;
font-style: italic;
margin-top:-1em;
}
#rss, #editable {
background-color: #a40000;
bottom: 20px;
position: fixed;
right: 20px;
transition: background-color 0.3s linear;
}
#rss:hover, #rss:focus, #editable:hover, #editable:focus {
background-color: #E70;
box-shadow: 0 0 5px #D60;
}
pre {
background: rgba(46, 52,54, 0.9);
border-radius: 3px;
color: #839496;
margin: 1em 2%;
padding: 15px;
}
body > footer {
border-bottom: 2px dotted #4e9a06;
bottom:0;
height:2em;
left:0;
right: 0;
position: absolute;
text-align: center;
}
body > footer ul {
margin: 0 auto;
}
body > footer li {
display: inline;
padding: 0 0.75em;
}
body > footer li a {
color: #a40000;
font-variant: small-caps;
}
body > footer li a:hover {
color: #3f0000;
}