diaspora/public/stylesheets/application.css

301 lines
6.3 KiB
CSS

@font-face {
font-family: "BrandonGrotesqueLightRegular";
src: url("brandongrotesque_light/Brandon_light-webfont.eot");
src: local("☺"), url("brandongrotesque_light/Brandon_light-webfont.woff") format("woff"), url("brandongrotesque_light/Brandon_light-webfont.ttf") format("truetype"), url("brandongrotesque_light/Brandon_light-webfont.svg#webfont") format("svg");
font {
weight: normal;
style: normal; } }
body {
padding: 2em;
margin: 0; }
a {
color: #018790;
text-decoration: none;
font-weight: bold; }
a:hover {
color: #018790; }
#flash_notice,
#flash_error,
#flash_alert {
z-index: 60;
position: absolute;
padding: 5px 8px;
margin: 0;
width: 400px;
top: 0px;
margin-left: 230px;
color: #666666; }
#flash_notice {
background-color: #ccffcc;
border: solid 1px #66cc66; }
#flash_error,
#flash_alert {
background-color: #ffcccc;
border: solid 1px #cc6666; }
.fieldWithErrors {
display: inline; }
.error_messages {
width: 400px;
border: 2px solid #cf0000;
padding: 0;
padding-bottom: 12px;
margin-bottom: 20px;
background-color: #f0f0f0;
font-size: 12px; }
.error_messages h2 {
text-align: left;
padding: 5px 5px 5px 15px;
margin: 0;
font-weight: bold;
font-size: 12px;
background-color: #cc0000; }
.error_messages p {
margin: 8px 10px; }
.error_messages ul {
margin: 0; }
header {
position: relative;
margin: -2em;
margin-bottom: 0;
height: 50px;
color: #555555;
background-color: black;
background-color: -webkit-gradient(linear, 0% 0%, 0% 55%, from(#474747), to(black));
background-color: #414545;
background-color: #2b2726;
border-bottom: 1px solid #444444;
padding-top: 20px;
box-shadow: 0 2px 10px black;
-webkit-box-shadow: 0 2px 10px black;
-moz-box-shadow: 0 2px 10px black; }
header #diaspora_text {
font-family: "BrandonGrotesqueLightRegular";
font-size: 24px;
position: absolute;
border: none;
color: white;
text-shadow: 0 2px 0 black; }
header #diaspora_text a {
color: white; }
header #diaspora_text span.sub_text {
color: black;
text-shadow: none; }
header #session_action {
float: right;
margin-top: 9px;
text-shadow: 0 1px 0 black;
padding-right: 10px; }
header #session_action a {
color: #777777;
border: none; }
header #session_action a.new_requests {
color: #df0101; }
#show_filters {
z-index: 100;
position: absolute;
right: 0;
text-align: right; }
#show_filters > a {
border: 1px solid #666666;
padding: 5px; }
#main {
width: 100%; }
ul#stream, ul#friend_stream {
margin: 0;
padding: 0;
color: #666666; }
ul#stream > li, ul#friend_stream > li {
list-style: none;
padding: 15px 0;
border-bottom: 1px solid #f1f1f1;
margin-bottom: 5px; }
ul#friend_stream > li {
padding: 0.2em 0; }
li.message {
position: relative;
line-height: 140%;
font-family: "Lucida Grande", sans-serif;
color: #999999; }
li.message span.from {
color: black;
font-weight: normal;
margin-right: 0.2em;
font-size: 110%; }
li.message div.time {
color: #bababa;
font-size: 70%; }
h1 {
position: relative;
font-size: 21px;
font-weight: bold;
line-height: 36px; }
h1 p.description, h1 span.description {
font-weight: 200;
color: #999999;
padding: 0.1em; }
h3 {
position: relative;
font-size: 18px;
font-weight: bold; }
form {
font-size: 120%;
margin: 1em;
margin-left: 0em; }
#user_name {
margin-bottom: 1em; }
#user_name a {
color: black; }
div.comments {
display: none; }
ul.comment_set {
margin: 0;
margin-top: 1em;
padding: 0;
padding-left: 1em;
list-style: none;
width: 90%; }
ul.comment_set li.comment {
margin-bottom: 0.5em;
background-color: #f2f8fc;
background-color: rgba(10, 81, 109, 0.1);
padding: 0.6em;
border-bottom: 1px solid #cccccc; }
ul.comment_set li.comment .from {
color: #666666;
font-weight: normal; }
ul.comment_set li.comment .from a {
color: #333333;
font-weight: bold; }
ul.comment_set li.comment form {
margin-top: -5px;
padding-bottom: 8px; }
img.person_picture {
max-width: 100%;
border-radius: 3px;
-moz-border-radius: 3px;
display: inline block; }
li.message > img.person_picture,
li.comment > img.person_picture {
height: 30px;
display: absolute;
float: left;
margin-right: 10px; }
.pagination a {
padding: 3px; }
.destroy_link, .request_button {
position: absolute;
right: 0;
bottom: 15px; }
.destroy_link a, .request_button a {
color: #999999;
font-weight: normal; }
.destroy_link {
display: none; }
.request_buttons {
position: absolute;
right: 0;
display: inline;
list-style: none;
margin: 0;
padding: 0; }
.request_buttons > li {
display: inline; }
.request_buttons > li:first-child {
margin-right: 1em; }
#debug_info {
margin-top: 20px; }
input[type='text'], textarea {
font-family: "lucida grande", "sans-serif";
font-size: 14px;
padding: 0.3em;
display: block;
width: 100%;
box-shadow: 0 2px 0px white;
-webkit-box-shadow: 0 2px 0px white;
-moz-box-shadow: 0 2px 0px white;
border-top: 1px solid #999999;
height: auto;
border-radius: 3px;
-moz-border-radius: 3px; }
input[type='submit'] {
display: block;
float: right; }
form p {
position: relative;
padding: 0;
margin: 0; }
label {
color: #999999;
position: absolute;
top: 3px;
left: 0.48em; }
#publisher {
padding: 0.5em 0;
background-color: #f2f8fc;
background-color: #333333;
border-bottom: 1px #eaeaea solid;
margin: 0 -2em;
margin-bottom: 2em;
color: #999999;
box-shadow: 0 2px 20px #999999;
-webkit-box-shadow: 0 2px 20px #999999;
-moz-box-shadow: 0 2px 20px #999999; }
#publisher sp {
text-shadow: 0 2px 0 black; }
#publisher textarea, #publisher input {
box-shadow: 0 0px 3px black;
-webkit-box-shadow: 0 0px 3px black;
-moz-box-shadow: 0 0px 3px #999999; }
#new_blog,
#new_bookmark,
#new_status_message,
#new_photo {
display: none; }
ul#publisher_content_pickers {
display: inline;
margin: 0 -10px;
padding: 0;
margin-left: 10px;
text-shadow: 0 2px 0 black; }
ul#publisher_content_pickers li {
display: inline;
padding: 5px 10px;
margin-right: 5px; }
.selected {
border-bottom: 3px solid #999999; }