3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-12 13:59:26 +01:00
dbot/public/styles.css

175 lines
2.4 KiB
CSS
Raw Normal View History

2011-11-08 19:45:40 +01:00
/*
* Authors
* Dafydd "Afal" Francis [ http://www.somethingafal.com/ ]
* "npc" / Samuel Clements [ http://borntyping.co.uk ]
2011-11-25 15:44:18 +01:00
* danharibo / Daniel Evans [ http://bytecove.co.uk]
2011-11-08 19:45:40 +01:00
*/
2011-11-08 21:10:55 +01:00
html {
2011-11-08 16:36:18 +01:00
}
2011-11-08 21:10:55 +01:00
body {
padding: 25px;
margin: 0;
font-family: "Source Sans Pro", sans-serif;
2011-11-25 15:44:18 +01:00
color: #444;
2011-11-08 21:10:55 +01:00
text-shadow: 1px 1px 2px #2B2B2B;
background: url("background.jpg") no-repeat center center fixed;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
2011-11-08 16:36:18 +01:00
}
2012-06-15 17:15:02 +02:00
h1,h2 {
margin: 0;
padding: 0;
}
p {
margin: 15px 5px;
}
2011-11-25 15:44:18 +01:00
div#page {
width: 90%;
margin: 0 auto 0 auto;
}
2012-06-15 18:57:47 +02:00
div#backlink {
2012-06-15 19:23:36 +02:00
position: absolute;
top: 10px;
left: 15px;
2012-06-15 18:57:47 +02:00
text-align: left;
2012-06-15 19:23:36 +02:00
font-size: 0.8em;
2012-06-15 18:57:47 +02:00
}
2011-11-08 21:10:55 +01:00
div#title {
font-size: 42px;
font-weight: bold;
2011-11-25 15:44:18 +01:00
margin: 0 0 10px 0;
color: #444;
}
div#title a {
color: #000;
2011-11-08 21:10:55 +01:00
}
2011-11-08 16:36:18 +01:00
2011-11-08 21:10:55 +01:00
div#main {
2012-06-15 19:23:36 +02:00
position: relative;
padding: 15px 5px;
2011-11-08 21:10:55 +01:00
margin: 0px;
2011-11-08 21:28:46 +01:00
font-size: 21px;
2011-11-08 21:10:55 +01:00
text-align:center;
2011-11-25 15:44:18 +01:00
background: #FFF;
border-radius: 20px;
box-shadow: 0px 0px 4px #000;
}
div#controls {
width: 100%;
}
input {
width: 80%;
2011-11-08 16:36:18 +01:00
}
2011-11-25 15:44:18 +01:00
a,a:active,a:visited {
2011-11-08 21:10:55 +01:00
text-decoration: none;
2011-11-08 16:36:18 +01:00
}
2012-06-15 19:57:47 +02:00
/* Index Page */
#modulelinks {
margin: 0;
padding: 0;
}
.module {
display: inline-block;
width: 45%;
padding: 15px 0;
margin: 0 2%;
background: #F5F5F5;
border-radius: 15px;
}
.module:hover {
background: #BBB;
}
2011-11-25 15:44:18 +01:00
ul#quotelist {
padding: 0;
margin: 0;
}
li.quotes, li.quote {
color: #3333FF;
2011-11-08 16:36:18 +01:00
}
2011-11-08 21:10:55 +01:00
/* Quotes list page */
2011-11-25 15:44:18 +01:00
li.quotes {
margin: 8px;
padding: 6px;
display: inline-block;
border-radius: 10px;
2011-11-08 16:36:18 +01:00
}
2011-11-25 15:44:18 +01:00
li.quotes:hover {
background: rgba(0,0,255,0.3);
2011-11-08 16:36:18 +01:00
}
2011-11-25 15:44:18 +01:00
.hidden {
display: none !important;
2011-11-08 21:16:35 +01:00
}
2011-11-08 21:43:52 +01:00
/* Quote list pages */
div#quotelist {
width:100%;
2011-11-08 16:36:18 +01:00
}
2011-11-25 15:44:18 +01:00
li.quote {
2011-11-08 21:43:52 +01:00
background: white;
border-radius: 5px;
2011-11-25 15:44:18 +01:00
display: inline-block;
margin: 6px auto;
padding: 6px;
font-size: 18px;
2011-11-25 15:44:18 +01:00
width: 40%;
text-shadow: 1px 1px 1px black;
2011-11-08 21:43:52 +01:00
}
2011-11-08 21:10:55 +01:00
2011-11-25 15:44:18 +01:00
img {
max-width: 100%;
}
2012-06-15 17:15:02 +02:00
/* Polls */
#votelist {
margin: 10px 0;
padding: 0 40px;
}
li.option {
list-style: none;
text-align: left;
font-size: 1.2em;
}
li.option-votes {
list-style: none;
text-align: left;
margin-bottom: 10px;
}
.vote-percentage {
height: 20px;
background: #444;
}
.vote-track {
height: 20px;
width: 100%;
background: #EEE;
margin: 2px 0;
box-shadow: inset 0px 0px 3px #444;
}