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

310 lines
4.8 KiB
CSS
Raw Normal View History

2011-08-08 11:50:43 +02:00
@font-face {
font-family: "menu";
2011-08-16 16:28:17 +02:00
src: url(CaviarDreams_Bold.ttf);
2011-08-08 11:50:43 +02:00
}
html {
background: url(img/back.jpg) #f4f2f2; /* fallback */
background: url(img/top.jpg) repeat-x 0 82px,
url(img/back.jpg) #f4f2f2;
2011-10-19 19:50:45 +02:00
font-family: sans-serif;
2011-08-16 16:28:17 +02:00
min-height: 100%;
width: 100%;
}
2011-08-16 16:28:17 +02:00
body {
2012-01-19 14:01:14 +01:00
background: url(img/green.jpg) repeat-x left 2em; /* fallback */
background: url(img/radicale_back.png) no-repeat 100% 100% fixed,
2012-08-21 16:35:18 +02:00
url(img/r.jpg) no-repeat 100% 50% fixed,
2012-01-19 14:01:14 +01:00
url(img/green.jpg) repeat-x left 2em;
color: #444;
2011-08-16 16:28:17 +02:00
margin: -2em 0 0 0;
min-height: 100%;
padding-bottom:2em;
position: absolute;
2011-08-16 16:28:17 +02:00
width:100%;
2011-08-08 11:50:43 +02:00
}
2011-08-16 16:28:17 +02:00
a {
2011-08-08 11:50:43 +02:00
color: #4e9a06;
text-decoration: none;
transition: color 0.3s linear;
}
2011-08-16 17:54:52 +02:00
a:hover, a:focus {
2011-08-08 11:50:43 +02:00
color: #376e04;
}
table {
2011-10-19 20:06:01 +02:00
border-collapse: collapse;
margin: auto;
}
table td {
2011-10-19 20:06:01 +02:00
border: 1px #cbb solid;
padding: 0.5em;
}
2011-10-19 20:10:43 +02:00
dt {
margin: 0.8em 0 0.2em 0;
}
2011-11-03 23:37:15 +01:00
code {
background: rgba(0, 150, 0, 0.03);
border-radius: 0.25em;
}
2011-08-16 16:28:17 +02:00
h2 {
2011-08-08 11:50:43 +02:00
background: url(img/icon.png) no-repeat top left;
color: #a40000;
font-family: "menu";
margin-bottom:35px;
padding: 8px 0 0 35px ;
text-transform: uppercase;
}
2011-08-16 16:28:17 +02:00
h3 {
2011-08-08 11:50:43 +02:00
color: #a40000;
2011-08-16 16:28:17 +02:00
font-family: "menu";
font-size: 1.4em;
2012-04-03 17:16:22 +02:00
margin: 0.5em 0;
2011-08-08 11:50:43 +02:00
}
2011-08-16 16:28:17 +02:00
h3 a {
2011-08-08 11:50:43 +02:00
background: url(img/fleche.png) no-repeat 0 35%;
color: #a40000;
2011-08-16 16:28:17 +02:00
font-family: "menu";
2011-08-08 11:50:43 +02:00
padding-left:20px;
}
2011-08-16 16:28:17 +02:00
h3 a:hover {
2011-08-08 11:50:43 +02:00
color: #a40000;
2010-08-01 04:36:30 +02:00
}
2011-08-16 16:28:17 +02:00
h4, h4 a {
2011-08-08 11:50:43 +02:00
border-bottom: 1px dotted #e6e6e6;
color: #cb0000;
2011-08-16 16:28:17 +02:00
font-family: Courier,monospace;
2011-08-08 11:50:43 +02:00
font-size: 1.1em;
}
2011-08-16 16:28:17 +02:00
section h4 a:hover {
2011-08-08 11:50:43 +02:00
color: #cb0000;
}
h5, h5 a {
2011-08-08 11:50:43 +02:00
font-family: "menu";
font-size: 1em;
text-transform: uppercase;
}
body > header {
2011-08-08 11:50:43 +02:00
position: absolute;
top:2em;
2011-08-08 11:50:43 +02:00
}
2012-02-27 19:13:56 +01:00
h1 {
box-shadow: 0 0 10px #D6D6D6;
position: relative;
top: -50px;
transform: rotate(-35deg);
z-index:2;
}
2011-08-08 11:50:43 +02:00
h1 a {
background: url(img/radicale.png)white center center no-repeat;
color: transparent;
2011-08-16 16:28:17 +02:00
display: block;
2011-08-08 11:50:43 +02:00
height: 250px;
2011-08-16 17:54:52 +02:00
transition: all 0.7s;
2012-02-27 19:13:56 +01:00
width: 165px;
2011-08-16 16:28:17 +02:00
}
2011-08-16 17:54:52 +02:00
h1 a:hover, h1 a:focus {
background-color: #f9f9f9;
box-shadow:0px 0px 5px rgba(0, 0, 0, 0.6);
2011-08-16 16:28:17 +02:00
color: transparent;
}
2011-08-16 16:28:17 +02:00
nav {
2011-08-08 11:50:43 +02:00
display: table;
2011-08-16 16:28:17 +02:00
margin: 2em auto 150px;
2011-08-08 11:50:43 +02:00
table-layout: fixed;
width: 900px;
z-index:-1;
}
2011-08-16 16:28:17 +02:00
nav ul {
2011-08-08 11:50:43 +02:00
display: table-row;
font-family: "menu";
font-size: 1.3em;
text-align: center;
2011-08-16 16:28:17 +02:00
padding:0;
2011-08-08 11:50:43 +02:00
}
2011-08-16 16:28:17 +02:00
nav li {
2011-08-08 11:50:43 +02:00
display: table-cell;
}
2011-10-19 20:10:43 +02:00
nav li a {
2012-01-19 14:16:26 +01:00
color: #83dd00;
2011-08-16 17:54:52 +02:00
display: block;
margin: auto;
line-height:82px;
2011-10-19 20:10:43 +02:00
text-align:center;
2012-01-19 14:16:26 +01:00
text-shadow: 0 0 3px black;
2011-08-16 17:54:52 +02:00
}
nav li a:hover, nav li a:focus{
color: #83dd00;
2012-01-19 14:16:26 +01:00
text-shadow: none;
2011-08-16 17:54:52 +02:00
}
nav li a[href] {
2011-08-08 11:50:43 +02:00
background-image: linear-gradient(white, white);
2011-08-16 17:54:52 +02:00
background-position: 0 -82px;
2011-08-08 11:50:43 +02:00
background-repeat: no-repeat;
color: white;
transition: all 0.6s;
}
2011-08-16 17:54:52 +02:00
nav li a[href]:hover,
nav li a[href]:focus {
2011-08-08 11:50:43 +02:00
background-position: 0 0;
box-shadow:0px 0px 10px #636363;
color: #4e9a06;
}
2011-08-16 16:28:17 +02:00
body > section {
2011-08-08 11:50:43 +02:00
margin:0 auto 0;
max-width: 70em;
2011-08-16 16:28:17 +02:00
width: 75%;
2011-08-08 11:50:43 +02:00
}
2011-08-16 16:28:17 +02:00
.contents {
background: rgba(46, 52, 54, 0.05);
2011-08-08 11:50:43 +02:00
border-radius: 5px;
box-shadow: 5px 5px 5px rgba(46, 52, 54, 0.2);
color: black;
2011-08-08 11:50:43 +02:00
margin: 0 auto;
padding: 0.5em 2em;
width: 60%;
2011-08-08 11:50:43 +02:00
}
.contents a {
color: grey;
2011-08-08 11:50:43 +02:00
}
2011-08-16 16:28:17 +02:00
.contents a:hover {
color: black;
2011-08-08 11:50:43 +02:00
}
2011-08-16 16:28:17 +02:00
.contents ul {
2011-08-08 11:50:43 +02:00
list-style-image: url(img/puce1.png);
}
2011-08-16 16:28:17 +02:00
.contents ul li li {
list-style: disc;
2011-08-08 11:50:43 +02:00
}
2011-08-16 16:28:17 +02:00
article {
2011-08-08 11:50:43 +02:00
background: rgba(255, 255,254, 0.5);
border-radius: 5px;
box-shadow: 0px 0px 10px #D6D6D6;
2011-08-08 11:50:43 +02:00
margin: -30px auto 50px;
padding: 20px;
}
.important, .warning, .note {
2011-08-08 11:50:43 +02:00
border-radius: 3px;
font-size: 0.9em;
margin: 1em 10%;
padding: 2px 15px;
2011-08-08 11:50:43 +02:00
}
.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;
}
2011-08-16 16:28:17 +02:00
.docinfo {
display: none;
}
.abstract header {
2011-08-16 16:28:17 +02:00
display: none;
}
.abstract {
2011-08-16 17:54:52 +02:00
opacity:0.8;
font-style: italic;
margin-top:-1em;
2011-08-16 16:28:17 +02:00
}
#rss, #editable {
2011-08-08 11:50:43 +02:00
background-color: #a40000;
position: fixed;
right: 20px;
top: 20px;
2011-08-08 11:50:43 +02:00
transition: background-color 0.3s linear;
2010-12-27 17:20:06 +01:00
}
2013-08-26 15:22:53 +02:00
#rss:hover, #rss:focus, #editable:hover, #editable:focus {
2011-08-08 11:50:43 +02:00
background-color: #E70;
box-shadow: 0 0 5px #D60;
2010-12-27 17:20:06 +01:00
}
2011-08-08 11:50:43 +02:00
pre {
background: rgba(46, 52,54, 0.9);
border-radius: 3px;
2011-10-03 00:24:06 +02:00
color: #839496;
margin: 1em 2%;
2011-08-08 11:50:43 +02:00
padding: 15px;
}
body > footer {
2011-08-08 11:50:43 +02:00
border-bottom: 2px dotted #4e9a06;
2011-08-16 16:28:17 +02:00
bottom:0;
height:2em;
left:0;
right: 0;
position: absolute;
2011-08-08 11:50:43 +02:00
text-align: center;
2011-10-19 19:56:05 +02:00
}
2011-08-08 11:50:43 +02:00
body > footer ul {
2011-08-08 11:50:43 +02:00
margin: 0 auto;
}
body > footer li {
2011-08-08 11:50:43 +02:00
display: inline;
padding: 0 0.75em;
2011-08-08 11:50:43 +02:00
}
body > footer li a {
2011-08-08 11:50:43 +02:00
color: #a40000;
font-variant: small-caps;
2011-08-08 11:50:43 +02:00
}
body > footer li a:hover {
2011-08-08 11:50:43 +02:00
color: #3f0000;
}