3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-27 05:02:36 +01:00
dbot/public/styles.css

246 lines
4.2 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;
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 {
2013-10-29 22:39:26 +01:00
margin: 0;
padding: 0;
2012-06-15 17:15:02 +02:00
}
p {
2013-10-29 22:39:26 +01:00
margin: 15px 5px;
2012-06-15 17:15:02 +02:00
}
2011-11-25 15:44:18 +01:00
div#page {
2013-10-29 22:39:26 +01:00
margin: 0 auto 0 auto;
2011-11-25 15:44:18 +01:00
}
2012-06-15 18:57:47 +02:00
div#backlink {
2013-10-29 22:39:26 +01:00
position: absolute;
top: 10px;
left: 15px;
2012-06-15 18:57:47 +02:00
text-align: left;
2013-10-29 22:39:26 +01: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;
margin: 0 0 10px 10px;
2011-11-25 15:44:18 +01:00
color: #444;
}
div#title a {
2013-10-29 22:39:26 +01:00
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 {
2013-01-23 20:13:10 +01:00
position: relative;
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 {
2013-10-29 22:39:26 +01:00
width: 100%;
padding: 10px;
2011-11-25 15:44:18 +01:00
}
input {
2013-10-29 22:39:26 +01:00
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 {
2013-10-29 22:39:26 +01:00
margin: 0;
padding: 0;
2012-06-15 19:57:47 +02:00
}
.module {
2013-10-29 22:39:26 +01:00
display: inline-block;
width: 20%;
padding: 5px;
margin: 1%;
background: #F5F5F5;
border-radius: 15px;
2012-06-15 19:57:47 +02:00
}
.module:hover {
2013-10-29 22:39:26 +01:00
background: #BBB;
2012-06-15 19:57:47 +02:00
}
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%;
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 {
2013-10-29 22:39:26 +01:00
max-width: 100%;
2011-11-25 15:44:18 +01:00
}
2012-06-15 17:15:02 +02:00
/* Polls */
#votelist {
2013-10-29 22:39:26 +01:00
margin: 10px 0;
padding: 0 40px;
2012-06-15 17:15:02 +02:00
}
li.option {
2013-10-29 22:39:26 +01:00
list-style: none;
text-align: left;
font-size: 1.2em;
2012-06-15 17:15:02 +02:00
}
li.option-votes {
2013-10-29 22:39:26 +01:00
list-style: none;
text-align: left;
margin-bottom: 10px;
2012-06-15 17:15:02 +02:00
}
.vote-percentage {
2013-10-29 22:39:26 +01:00
height: 20px;
background: #444;
2012-06-15 17:15:02 +02:00
}
.vote-track {
2013-10-29 22:39:26 +01:00
height: 20px;
width: 100%;
background: #EEE;
margin: 2px 0;
2012-06-15 17:15:02 +02:00
2013-10-29 22:39:26 +01:00
box-shadow: inset 0px 0px 3px #444;
2012-06-15 17:15:02 +02:00
}
2013-01-21 00:07:33 +01:00
/**
* DataTables
* Based on http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/css/jquery.dataTables.css
*/
.sorting { background: url('http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/images/sort_both.png') no-repeat center right; }
.sorting_asc { background: url('http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/images/sort_asc.png') no-repeat center right; }
.sorting_desc { background: url('http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/images/sort_desc.png') no-repeat center right; }
.sorting_asc_disabled { background: url('http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/images/sort_asc_disabled.png') no-repeat center right; }
.sorting_desc_disabled { background: url('http://ajax.aspnetcdn.com/ajax/jquery.dataTables/1.9.4/images/sort_desc_disabled.png') no-repeat center right; }
2013-01-23 20:13:10 +01:00
/**
* Bootstrap Overrides
*/
.profile_page-header{
margin: 5px 0 10px 0;
}
.profile_row{
text-align: left;
margin-bottom: 10px;
}
2013-01-24 20:39:28 +01:00
/**
* spaceinvader's thumbnails
*/
span.nicks {
display: none;
color: #fff;
text-decoration: none;
position: absolute;
left: 0px;
top: 10px;
width: 100%;
2013-01-25 00:14:41 +01:00
word-wrap: break-word;
2013-01-24 20:39:28 +01:00
}
div.imgwrap {
background-color: #000;
position: relative;
}
div.imgwrap > img {
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
-o-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out;
}
2013-01-24 23:34:34 +01:00
2013-01-24 20:39:28 +01:00
.thumbnail:hover > div.imgwrap > img {
opacity: 0.5;
}
.thumbnail:hover > div.imgwrap > span.nicks {
display: inline;
}
2013-08-31 17:20:38 +02:00
.sidething {
border-right: 1px solid grey;
}
/* footer */
#footer {
margin-top:5px;
margin-right:10px;
margin-left:10px;
}
#bread {
float:right;
margin-left: 2px;
margin-right: 2px;
padding-left:2px;
padding-right:2px;
background-color:#f5f5f5;
border-radius:3px;
}