inmanis/templates/ycss.lucius

293 lines
7.2 KiB
Text
Raw Normal View History

2012-09-03 12:33:52 +00:00
/* Animate everything by default (0.3s) */
* {
2012-09-03 15:25:30 +00:00
transition-property: all;
transition-duration: 0.3s;
-moz-transition-property: all;
-moz-transition-duration: 0.3s;
-webkit-transition-property: all;
-webkit-transition-duration: 0.3s;
-o-transition-property: all;
-o-transition-duration: 0.3s;
2012-09-03 12:33:52 +00:00
}
2012-08-10 14:16:44 +00:00
2012-09-11 15:17:34 +00:00
body::selection { background: none repeat scroll 0 0 #{altbackHighlightColor} }
body::-moz-selection { background: none repeat scroll 0 0 #{altbackHighlightColor} }
#main::selection { background: none repeat scroll 0 0 #{backHighlightColor} }
#main::-moz-selection { background: none repeat scroll 0 0 #{backHighlightColor} }
2012-09-11 12:46:28 +00:00
/* the main style */
2012-07-02 13:21:39 +00:00
body {
2012-08-05 21:09:15 +00:00
font-family: Georgia, Palatino, Serif;
2012-09-11 12:46:28 +00:00
background-color: #{base03};
color: #{base0};
2012-08-05 21:09:15 +00:00
font-size: 18px;
2012-09-11 15:17:34 +00:00
line-height: 1.5em;
2012-07-02 13:21:39 +00:00
}
2012-08-10 14:16:44 +00:00
2012-09-11 12:46:28 +00:00
a { color: #{base01}; text-decoration: none; }
a:visited { color: #{base1}; }
2012-09-12 13:01:37 +00:00
a:hover { color: #{violet}; text-shadow: 0 0 1px #{shadowviolet}; }
2012-09-11 12:46:28 +00:00
hr { border: solid #{slightlyblack} 1px; }
2012-08-10 14:16:44 +00:00
/* Layout */
2012-07-02 13:21:39 +00:00
.content {
width: 37em;
margin: 0 auto;
}
ul, ol {
2012-08-24 13:01:25 +00:00
padding: 0;
2012-07-02 13:21:39 +00:00
li {
margin-bottom: 1em;
2012-09-04 15:14:15 +00:00
border-bottom: solid 1px #{slightlyblack};
padding-bottom: 1em;
2012-07-02 13:21:39 +00:00
}
margin-bottom: 1em;
}
p { line-height: 1.5em; }
2012-09-11 12:46:28 +00:00
/* Utils */
.flush { clear: both; }
.left { float: left; }
.right { float: right; }
/* Dark background header and footer */
2012-07-02 13:21:39 +00:00
header {
2012-09-11 12:46:28 +00:00
color: #{base0};
background-color: #{base03};
2012-07-02 13:21:39 +00:00
text-align: center;
top: 0;
2012-07-02 21:48:41 +00:00
margin: 0;
padding: 1em 1em 2em 1em;
2012-08-10 14:16:44 +00:00
border-bottom: solid 1px #{base03};
h1,h2 {
2012-09-11 15:17:34 +00:00
line-height: 1em;
2012-09-11 12:46:28 +00:00
margin: 0;
2012-09-03 15:48:33 +00:00
a, a:visited, a:hover {
2012-09-11 12:46:28 +00:00
color: #{base0};
2012-09-03 15:48:33 +00:00
text-shadow: 1px 1px 0px #{white}, -1px -1px 0px #{black};
2012-09-11 12:46:28 +00:00
font-weight: bold; }
a, a:visited { color: #{base0}; }
2012-09-11 12:55:48 +00:00
a:hover { color: #{alttextEmphColor};
text-shadow: 1px 1px 0px #{white}, -1px -1px 0px #{black}; }
2012-07-02 13:21:39 +00:00
}
h1 { font-size: 5em; }
2012-08-10 14:16:44 +00:00
h2 { font-size: 2em; }
2012-09-12 13:01:37 +00:00
a:hover { color: #{yellow}; text-shadow: 0 0 1px #{shadowyellow}; }
2012-07-02 13:21:39 +00:00
}
2012-08-07 06:18:10 +00:00
footer {
2012-09-11 12:46:28 +00:00
color: #{base0};
background-color: #{base03};
2012-09-12 13:01:37 +00:00
a:hover { color: #{yellow}; text-shadow: 0 0 1px #{shadowyellow}; }
2012-09-10 11:53:34 +00:00
line-height: 2em;
2012-08-07 06:18:10 +00:00
padding: 1em 1em 2em 1em;
border-top: solid 1px #889;
text-align: left;
2012-08-21 09:48:31 +00:00
min-height: 4em;
.content > div {font-size: .9em;}
2012-08-07 06:18:10 +00:00
}
2012-09-11 12:46:28 +00:00
/* Light background main view */
2012-07-02 21:48:41 +00:00
#main {
2012-08-10 14:16:44 +00:00
background-color: #{background};
color: #{foreground};
2012-07-02 21:48:41 +00:00
margin-top: 0;
2012-08-10 14:16:44 +00:00
border-top: solid 1px #{base3};
2012-07-03 21:23:02 +00:00
padding: 2em 0;
2012-08-21 11:43:44 +00:00
box-shadow: 0 16px 16px #{black};
2012-07-02 21:48:41 +00:00
}
2012-08-05 21:09:15 +00:00
2012-09-11 12:46:28 +00:00
/* Forms */
form {
div { margin: 1em auto; }
label {
width: 5em;
display: inline-block;
text-align: right;
margin-right: 1em; }
textarea
, input {
font-family: Georgia, Palatino, Serif;
color: #{base01};
border-radius: 3px;
background: #{base2};
box-shadow: 1px 1px 2px #{base03} inset;
border: 0; padding: .3em;
max-width: 30em;
width: 30em; }
input[type="submit"] {
color: #{base1};
margin: 0 auto;
display: block;
width: 5em;
max-width: 5em;
box-shadow: 1px 1px 2px #{black};
font-weight: bold;
text-shadow: 0 1px #{white};
border: solid 1px;}
input[type="submit"]:hover {
color: #{base0};
border-color: #{base0};
background-color:#{base2};
box-shadow: 1px 1px 4px #{black};
}
input[type="submit"]:active {
box-shadow: -1px -1px 1px #{shadowyellow};
background-color: #{lightyellow};
border-color: #{yellow};
color: #{yellow};
}
2012-08-05 21:09:15 +00:00
}
/* URL Entry */
2012-08-07 15:38:54 +00:00
.entryLine {
display: block;
2012-08-19 12:45:48 +00:00
line-height: 3em;
2012-09-04 15:14:15 +00:00
height: 3.1em; }
2012-08-07 15:38:54 +00:00
.vote { width: 2.1em;
2012-08-19 12:45:48 +00:00
line-height: 1.5em;
2012-08-07 15:38:54 +00:00
margin-right: 1em;
text-align: center;
2012-08-20 10:18:21 +00:00
border-radius: 3px;
2012-08-07 15:38:54 +00:00
float:left; }
.yeah, .neah {
2012-08-10 14:16:44 +00:00
background-color: #{base2};
2012-08-20 10:18:21 +00:00
box-shadow: 0px 0px 2px #{base0} inset;
2012-08-20 12:28:56 +00:00
border-radius: 2px;
2012-08-07 15:38:54 +00:00
cursor: pointer;
2012-08-07 22:22:23 +00:00
width: 3em;
2012-08-10 09:41:23 +00:00
font-size: .75em; }
2012-08-20 15:45:17 +00:00
.neah { margin: 2px 0; }
.yeah:hover {
2012-09-12 13:01:37 +00:00
color: #{violet};
box-shadow: 0px 0px 4px #{violet} inset;
background-color: #{lightviolet}; }
.neah:hover {
2012-09-12 13:01:37 +00:00
color: #{green};
box-shadow: 0px 0px 4px #{green} inset;
background-color: #{lightgreen}; }
2012-08-10 09:41:23 +00:00
.yeah_voted .yeah {
2012-09-12 13:01:37 +00:00
background-color: #{lightviolet};
color: #{violet};
box-shadow: 0px 0px 2px #{violet} inset; }
2012-08-10 09:41:23 +00:00
.neah_voted .neah {
2012-09-12 13:01:37 +00:00
background-color: #{lightgreen};
color: #{green};
box-shadow: 0px 0px 2px #{shadowgreen} inset; }
2012-08-19 12:45:48 +00:00
.firstline,.secondline,.thirdline {
2012-09-11 13:27:44 +00:00
overflow: hidden;
line-height: 1em; }
.firstline { line-height: 1.3em; height: 1.3em; }
.secondline { height: 1em; }
.secondline { font-size: .6em; color: #{base1}; margin: 0.3em 0 .4em; }
.thirdline { font-size: .8em; height: 1em }
2012-09-11 09:19:17 +00:00
2012-08-20 15:45:17 +00:00
#loginmessage,#popin {
2012-08-11 22:38:38 +00:00
display: none;
position: fixed;
margin: 0;
padding: 0;
border: none;
width: 100%;
height: 100%;
left: 0;
top: 0;
background-color: #{black};
2012-09-11 12:46:28 +00:00
.insidebox {
width: 37em;
margin: 0 auto;
padding: 1em;
position: relative;
top: 30%;
left: 0%;
background-color: #{background};
color: #{foreground};
border-radius: 3px;
box-shadow: 0 0 10px #{fullblack};
}
.buttons { margin: 0 auto; }
.button {
2012-09-11 13:27:44 +00:00
font-size: 0.9em;
2012-09-11 12:46:28 +00:00
float: left;
margin: 1em 1em 0 0;
border: solid 1px;
cursor: pointer;}
2012-08-11 22:38:38 +00:00
}
2012-08-20 15:45:17 +00:00
2012-08-11 22:38:38 +00:00
#loginmessage .close {
float: right;
cursor: pointer;
}
2012-09-12 13:01:37 +00:00
.action {
cursor: pointer; }
.action:hover {
color: #{yellow};
text-shadow: 0 0 1px #{shadowyellow};
}
2012-08-24 13:01:25 +00:00
#comments {
font-size: .9em;
2012-08-29 12:27:00 +00:00
li { border: 1px solid #{base2};
list-style-type: none;
padding: 10px;
2012-08-29 12:27:00 +00:00
border-radius: 2px; }
.meta { font-size: .7em; height: 1.7em;}
2012-09-05 06:32:58 +00:00
.content { min-height: 1.5em; color: #{base01}; }
2012-09-12 13:01:37 +00:00
.actions { font-size: .8em; margin-top: .5em; }
2012-08-29 12:27:00 +00:00
.actions > span:hover {
2012-09-10 11:53:34 +00:00
color: #{yellow};
text-shadow: 0 0 1px #{shadowyellow};
2012-08-29 12:27:00 +00:00
cursor: pointer;
}
}
2012-09-03 12:33:52 +00:00
.hide { display: none; }
.button {
cursor: pointer;
font-size: 12px;
2012-09-11 15:17:34 +00:00
padding: 0 10px;
2012-09-03 12:33:52 +00:00
color: #{base1};
margin: 1em 0;
display: block;
text-align: center;
width: 100px;
max-width: 100px;
border-radius: 3px;
box-shadow: 1px 1px 2px #{black};
font-weight: bold;
text-shadow: 0 1px #{white};
border: solid 1px;}
.button:hover {
color: #{base0};
border-color: #{base0};
background-color:#{base2};
box-shadow: 1px 1px 4px #{black};
}
.button:active {
2012-09-10 11:53:34 +00:00
box-shadow: -1px -1px 1px #{shadowyellow};
background-color: #{lightyellow};
border-color: #{yellow};
color: #{yellow};
2012-09-03 12:33:52 +00:00
}
2012-09-11 12:46:28 +00:00
.entryText {
margin-bottom: 1em;
padding-bottom: 1em;
border-bottom: solid #{slightlyblack} 1px;
}
#login, #logout {
position: absolute;
top: 10px;
right: 20px; }
2012-09-11 09:19:17 +00:00
.actions > span { color: #{base00}; }
.actions > span:hover {
color: #{yellow};
text-shadow: 0 0 1px #{shadowyellow};
cursor: pointer;
2012-09-11 12:46:28 +00:00
}
2012-09-12 13:01:37 +00:00
.actions {
a:hover { color: #{yellow}; text-shadow: 0 0 1px #{shadowyellow}; }
}
.light { opacity: 0.5; }
.red { color: #{red}; }