diaspora/public/stylesheets/application.css

206 lines
3.8 KiB
CSS

body {
font-family: "helvetica", "arial", "sans-serif";
padding: 2em;
margin: 0; }
a {
color: #cc1e14;
text-decoration: none; }
a:hover {
color: #cc1e14; }
#flash_notice,
#flash_error,
#flash_alert {
z-index: 60;
position: fixed;
padding: 5px 8px;
margin: 0;
width: 400px;
top: 0px;
left: 200px; }
#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;
color: white; }
.error_messages p {
margin: 8px 10px; }
.error_messages ul {
margin: 0; }
header {
z-index: 10;
position: fixed;
width: 100%;
margin-top: -2em;
margin-right: -2em;
margin-left: -2em;
height: 30px;
color: white;
background-color: #1a1a21;
border-bottom: 2px solid #f2f8fc;
padding-top: 5px; }
header #diaspora_text {
position: fixed;
border: none;
top: 8px;
left: 1em; }
header #session_action {
position: fixed;
right: 1em;
font-size: 120%;
top: 7px; }
header #session_action a {
color: #cccccc;
border: none; }
ul.nav {
position: absolute;
padding: 0;
margin: 0;
width: 200px;
top: 100px;
font-size: 130%; }
ul.nav li {
display: block;
padding: 5px 10px;
background-color: #f2f8fc;
border: 1px solid white; }
ul.nav li:first-child {
border-top-right-radius: 5px;
border-top-left-radius: 5px; }
ul.nav li:last-child {
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px; }
ul.nav a {
color: #b1cfe3; }
#header_below {
z-index: 5;
position: fixed;
height: 40px;
width: 100%;
padding: 1em;
padding-top: 40px;
top: 0;
background-color: rgba(255, 255, 255, 0.9);
margin-left: -2em; }
#header_below img {
position: absolute;
width: 200px;
border-radius: 5px; }
#content {
position: absolute;
left: 250px;
top: 94px;
width: 60%;
min-width: 500px;
max-width: 700px; }
ul#stream {
margin: 0;
padding: 0;
color: #666666; }
ul#stream > li {
list-style: none;
padding: 1em;
border-bottom: 1px solid #f1f1f1;
margin-bottom: 5px; }
li.message {
line-height: 140%;
font-size: 120%;
font-family: "Lucida Grande";
color: #999999; }
li.message span.from {
color: black;
font-weight: bold;
margin-right: 0.2em; }
li.message div.time {
color: #bababa;
font-size: 70%; }
.mine {
background-color: rgba(202, 237, 204, 0.5); }
h1 {
position: relative;
font-size: 24px;
font-weight: bold;
line-height: 36px; }
h1 p.description, h1 span.description {
font-weight: 200;
font-family: "helvetica neue", "lucida grande", "sans-serif";
color: #999999;
padding: 0.1em; }
.big_number {
font-weight: bold;
font-size: 500%;
line-height: 100%; }
h3 {
position: relative;
font-size: 18px;
font-weight: bold; }
#publish input#thought {
font-size: 30px;
padding: 7px;
border-radius: 5px;
width: 100%;
margin-bottom: 1em; }
#main {
width: 70%;
min-width: 400px;
max-width: 700px;
float: left; }
#friends_list {
float: right;
width: 20%;
min-width: 130px;
padding-left: 10%; }
form {
font-size: 130%;
margin: 1em;
margin-left: 0em; }
form input {
font-size: 150%;
padding: 0.2em;
max-width: 100%; }
#user_name {
background-color: rgba(255, 255, 255, 0.5); }
#user_name a {
color: black; }
#user_name a:hover {
color: #cc1e14; }