Removed PIE.htc in places where it makes IE fuck up even more than it usually does...
[citadel.git] / webcit / static / styles / webcit.css
index 358a771799d3215e6c02bf5fd1fd5ef4ce6f8b31..278b42e531726065f92bd9e4f225905dccc89ecf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2005 - 2010 The Citadel Team
+ * Copyright 2005 - 2011 The Citadel Team
  * Licensed under the GPL V3
  */
 
 @import url("navbar.css");
 @import url("content.css");
 @import url("box.css");
+@import url("message.css");
 @import url("modal.css");
+@import url("service.css");
 
 @media print {
        input#toggler, .toolbar { display: none }
 }
 
 html, body {
-       font-size: 100;
+       font-size: 100%;
        height:100%;
        width:100%;
        margin:0;
@@ -29,18 +31,14 @@ html, body {
 
 .address_book_popup_title { font-size: 130% }
 
-#button, #content .button_link a, input#delbutton,.attachfile,.logbuttons input,.buttons input, .buttons a, .customize, .menubar_link, .roomlist_floor, .ib_roomlist_floor, .roomlist_new, .ib_roomlist_new, .roomlist_old, .ib_roomlist_old, #banner ul.room_actions li, .selector_top, .selector_bottom, .banner .infos,li.search,li.view, .room_actions form select option, .selectbox, .message_header, ul.adminitems li span, #message_list tr > td {
+#button, #content .button_link a, input#delbutton,.attachfile, .buttons input, .buttons a, .customize, .menubar_link, #banner ul.room_actions li, .selector_top, .selector_bottom, .banner .infos,li.search,li.view, .room_actions form select option, .selectbox, ul.adminitems li span, #message_list tr > td {
        font-size: 100%;
 }
 
-#nummsgs { font-size: 75% }
-
 #message_list_hdr table { font-size: 80% }
 
 .mailbox_summary { font-size: 80% }
 
-#online_users li a { font-size: 80% !important }
-
 /* Color */
 
 body {
@@ -53,42 +51,30 @@ body {
        background-color: #69aaff !important;
 }
 
-.service form div,table.altern .odd, #message_list, .message_content, #roomlist_div,.editednode,.mailbox_summary, .auth_validate, .event_background, .calendar_background, .calendar_view_background, .graphics_background, .messages_background, .paging_background, .preferences_background, .roomops_background, .sieve_background, .siteconfig_background, .smtpqueue_background, .tabs_background, .useredit_background, .userlist_background, .wiki_history_background, .wiki_pagelist_background, .downloads_background, .vcard_edit_background, div.auto_complete, div.auto_complete ul, #summary_view {
+.service form div,table.altern .odd, #message_list, #roomlist_div,.editednode,.mailbox_summary, .auth_validate, .event_background, .calendar_background, .calendar_view_background, .graphics_background, .messages_background, .paging_background, .preferences_background, .roomops_background, .sieve_background, .siteconfig_background, .smtpqueue_background, .tabs_background, .useredit_background, .userlist_background, .wiki_history_background, .wiki_pagelist_background, .downloads_background, .vcard_edit_background, div.auto_complete, div.auto_complete ul, #summary_view {
        background-color: #FFF;
        color: #000;
 }
 
-#message_list_hdr table, #resize_msglist, .message, .entmsg, .message_header, .vcard_edit_background_alt,.roomops_background_alt {
+#message_list_hdr table, #resize_msglist, .vcard_edit_background_alt,.roomops_background_alt {
        background-color: #CCC;
 }
 
-#online_users li.inactiveuser a { background-color: transparent }
-
-#room_infos, #address_book_popup,.roomops_cell, .roomops_cell_edit, .mimepart {
-       background-color: #F0FFFF;
-       color: #333;
+#room_infos, #address_book_popup, .roomops_cell, .roomops_cell_edit, .mimepart {
+       background-color: #deded0;
+       color: #5C646B;
 } 
 
-#online_users:hover { /* separate in order for override */
-       background-color: #F0FFFF !important;
-       color: #333 !important;
-}
-
 #room_infos, #address_book_popup, .mimepart, .room_actions form select {
-       border: 1px solid #333;
+       border: 1px solid #5C646B;
        overflow: scroll;
 }
 
-.buttons a,.roomlist_floor,.tablabel,.treetitle {
+.buttons a,.tablabel,.treetitle {
        color: #000;
        font-weight: 700;
 }
 
-#online_users li {
-       border: none;
-       border-top: 1px solid #AAA;
-}
-
 .mimepart div,.required { font-weight: 700 }
 
 .selector_top,.selector_bottom {
@@ -109,7 +95,7 @@ body {
 #message_list_hdr table { font-style: italic }
 
 #resize_msglist {
-       background-image: url(/static/resizegrippy.gif);
+       background-image: url(/static/webcit_icons/resizegrippy.gif);
        background-position: center;
        background-repeat: no-repeat; 
 }
@@ -121,24 +107,6 @@ body {
        height: 3px;
 }
 
-.message, .entmsg {
-       border: 1px outset #999;
-       clear: both;
-       margin: 1%;
-       padding: 0;
-}
-
-.entmsg {
-       position: absolute;
-       height: 95%;
-       width: 98%;
-}
-
-.message_header .message_subject {
-       font-style: italic;
-       float: left;    
-}
-
 .adminlist { list-style: none }
 
 .customize {
@@ -216,13 +184,13 @@ body {
 .mimepart dl dt { font-weight: 700 }
 
 .roomops_cell_label, .tab_cell_label {
-       background-color: #3E65AF;
+       background-color: #424b52;
        color: #EABB3A;
-       font-size: 90%;
+       font-size: 80%;
+       font-weight: bold;
        border-radius: 8px 8px 0 0;
        -webkit-border-radius: 8px 8px 0 0;
        -moz-border-radius: 8px 8px 0 0;
-       /* behavior: url(/static/styles/PIE.htc); disabled for now; see http://github.com/lojjic/PIE/issues#issue/21 */
 }
 
 .selectbox {
@@ -230,13 +198,13 @@ body {
 }
 
 .tab_cell, .tab_cell_edit {
-       background-color: #5F84C5;
+       background-color: #5c646b;
        color: #F9FDFB;
-       font-size: 90%;
+       font-size: 80%;
+       font-weight: bold;
        border-radius: 8px 8px 0 0;
        -webkit-border-radius: 8px 8px 0 0;
        -moz-border-radius: 8px 8px 0 0;
-       /* behavior: url(/static/styles/PIE.htc); disabled for now; see http://github.com/lojjic/PIE/issues#issue/21 */
 }
 
 .tabcontent {
@@ -349,8 +317,6 @@ ul.adminitems li span {     color: #666 }
 
 var sub { font-style: normal }
 
-.calendar { background-color: #204B78 }
-
 .week_of_year {
        background-color: #e1e1e1;
        font-size: 70%; 
@@ -379,34 +345,57 @@ var sub { font-style: normal }
 
 a { text-decoration: none }
 
-a:active {
-       color: #3E65AF;
-}
+a:link, .calendar a:visited { color: #0e73e3 } /*color: #2F65DD;*/
+
+a:active { color: #3E65AF }
+
+a:visited { color: #70342e }
 
-a:link {
-       color: #2F65DD;
+.roomlist_old { color: #424b52 }
+
+.roomlist_new { color: #ef7114 }
+
+.roomlist_new, .roomlist_old {
+       font-size: medium;
+       font-weight: bold;
+       padding: 0.1em 0.3em;
 }
 
-a:visited { color: purple}
+.roomlist_new:hover, .roomlist_old:hover{
+       outline: 1px solid #7d858c;
+       outline-radius: 5px;
+       -khtml-outline-radius: 5px;
+       -moz-outline-radius: 5px;
+       behavior: url(/static/styles/PIE.htc);
+}
 
 #customize a:active, #customize a:link, #customize a:visited {
        color: black;
 }
 
-#important_message, .buttons a:hover, #button li:hover, #online_users li a:hover {
+#important_message {
        background-color: #3E65AF;
-       color: #3E65AF;
+       color: #FFF;
 }
 
-.button_link a, input, select, li.activeuser, .room_actions form select, .room_actions li.search input, .address_book_popup_title, input#delbutton,.attachfile, .logbuttons input,.buttons input {
-       background-color: #fbf4ca !important; /* needed for li.activeuser */
+input, select, .room_actions form select, .room_actions li.search input, .address_book_popup_title {
+       background-color: #efefe0; /*#fbf4ca;*/
+       border: 2px solid #5c646b;
+       color: #333;
 }
 
-.button_link a, input, select, .room_actions form select, .room_actions li.search input, .address_book_popup_title, input#delbutton,.attachfile, .logbuttons input,.buttons input {
-       border: 1px solid #999;
-       color: #333;
+.buttons a:hover { background-color: #5c646b; }
+.button_link a, input#delbutton,.attachfile, .buttons input {
+       background-color: #4d555c;
+}
+.button_link a, input#delbutton,.attachfile, .buttons input {
+       border: 2px solid #5c646b;
+       color: #F0FEFF;
 }
 
+
 .button_link a, input#delbutton,.attachfile, .buttons input {
        cursor: pointer;
        -webkit-border-radius: 8px;
@@ -448,45 +437,28 @@ body {
        text-align: center;
 }
 
-.moreprompt {
-       text-align: center;
-       font-size: 100%;
-       background-color: #004E79;
-       color: #dddddd;
-}
-
-.moreprompt_link {
-       color: #dddddd;
-       font-weight: bold;
-}
-
-.moreprompt_link:hover {
-       background-color: #3E65AF;
-       color: #3E65AF;
-}
-
 #validate { text-align: center }
 
 #iconbar, #banner, #content, #message_list_hdr, #message_list, #preview_pane  { text-align: left }
 
-.message_content > div > div { text-align: justify !important }
-
 /* Please avoid setting heights for any of the mailbox view elements (except summary_view
  * and resize). In particular, do NOT set any for message_list_hdr as its not good feng shui
  */
+#message_listview th {
+       border-right: 0.2em solid #fff;
+}
+#message_listview td {
+       padding-left: 1em;
+}
 
 #message_list_hdr {
        display: block;
-       top: 0;
-       left: 0;
-       width: 100%;
        padding-bottom: 0;
        margin-bottom: 0;
        background-color: #CCCCCC;
 }
 
 #summary_view {
-       height: 100px;
        overflow-y: scroll;
        overflow-x: hidden;
        cursor: pointer;
@@ -494,7 +466,6 @@ body {
 
 #summary_headers {
        background-color: white;
-       width: 100%;
        table-layout: fixed;
 }
 
@@ -503,11 +474,11 @@ body {
        overflow-x: hidden; /* stop long subjects overflowing */
 }
 
-.col1 { width: 50% }
+#message_listview .col1 { width: 66% }
 
-.col2 { width: 30% }
+#message_listview .col2 { width: 22% }
 
-.col3 { width: 20% }
+#message_listview .col3 { width: 12% }
 
 .col1, .col2, .col3 {
        cursor: pointer;
@@ -571,19 +542,19 @@ body {
 }
 
 /* Override to disable list-style-image" */
-.room a, .room a, .room a:visited, .room a:link { color: #333333 }
+.room a, .room a, .room a:visited, .room a:link { color: #f0feff }
 
-.room-private { list-style-image: url("/static/privatemess_16x.gif") }
+.room-private { list-style-image: url("/static/webcit_icons/essen/16x16/email.png") }
 
-.room-addr { list-style-image: url("/static/viewcontacts_16x.gif") }
+.room-addr { list-style-image: url("/static/webcit_icons/essen/16x16/contact.png") }
 
-.room-cal { list-style-image: url("/static/calarea_16x.gif") }
+.room-cal { list-style-image: url("/static/webcit_icons/essen/16x16/calendar.png") }
 
-.room-tasks { list-style-image: url("/static/taskmanag_16x.gif") }
+.room-tasks { list-style-image: url("/static/webcit_icons/essen/16x16/task.png") }
 
-.room-notes { list-style-image: url("/static/storenotes_16x.gif") }
+.room-notes { list-style-image: url("/static/webcit_icons/essen/16x16/note.png") }
 
-.room-chat { list-style-image: url("/static/chatrooms_16x.gif") }
+.room-chat { list-style-image: url("/static/webcit_icons/essen/16x16/room.png") }
 
 .room-newmsgs { font-weight: bold }
 
@@ -598,12 +569,7 @@ body {
        padding: 2px;
 }
 
-.message_header p {
-       margin: 2px 0 2px 0;
-       padding: 0 0 2px 0;
-}
-
-.button_link a, .attachfile, .logbuttons input,.buttons input .logbutton {
+.button_link a, .attachfile, .buttons input .logbutton {
        margin: 3px;
        padding: 2px 4px 2px 4px;
 }
@@ -661,32 +627,8 @@ input#delbutton {
        clear: both;
 }
 
-.msgbuttons {
-       float: right;
-       padding: 2px;
-       font-size: 80%;
-}
-
 .buttons a { text-align: center }
 
-.message_content {
-       margin: 0;
-       padding: 0.3em;
-       clear: both;
-}
-
-.message form div label, .entmsg form div label {
-       display: block;
-       float: left;
-       margin: 0.3em;
-       width: 9em;
-       text-align: right;
-}
-
-.message form div input, .message form div select, .entmsg form div input, .entmsg form div select {
-       margin: 0.3em
-}
-
 .imgedit {
        vertical-align: middle
 }
@@ -751,7 +693,6 @@ div.auto_complete ul strong.highlight {
        -webkit-box-shadow: #666 0px 2px 3px;
        -moz-box-shadow: #666 0px 2px 3px;
        box-shadow: #666 0px 2px 3px;
-       behavior: url(/static/styles/PIE.htc);
 }
 
 #address_book_popup_container_div {
@@ -768,10 +709,6 @@ div.auto_complete ul strong.highlight {
 
 #address_book_inner_div input { margin: 4px 5px 0 5px }
 
-.service .edit_col, .service .host_col { display: none }
-
-.who_is_online .edit_col, .who_is_online .host_col { display: block }
-
 #citlogo { display: none; /* Overriden later */ }
 
 .sort_ascending, .sort_descending {
@@ -779,23 +716,14 @@ div.auto_complete ul strong.highlight {
        background-position: center right;
 }
 
-.sort_ascending { background-image: url("/static/down_pointer.gif") }
+.sort_ascending { background-image: url("/static/webcit_icons/down_pointer.gif") }
 
-.sort_descending { background-image: url("/static/up_pointer.gif") }
+.sort_descending { background-image: url("/static/webcit_icons/up_pointer.gif") }
 
 #message_list_hdr > table { border-collapse: collapse }
 
-#message_list_hdr > table > tbody > tr > th {
-       border-left: 2px solid white;
-       border-right: 2px solid white;
-}
-
 #summary_view > table { border-collapse: collapse }
 
-th.col1 { border-left: none !important }
-
-th.col3 { border-right: none !important }
-
 /* System Administration Menu */
 
 ul.adminitems {
@@ -854,7 +782,7 @@ table.advanced {
 
 /* Links and buttons */
 
-.logbuttons, .buttons {
+.buttons {
        margin: 2px auto 2px auto;
        width: 96%;
        text-align: center;
@@ -901,21 +829,31 @@ ul.tabbed_dialog li {
 /* Calendar view */
 
 .calendar {
-       background-color: #204B78;
-       margin: 0;
-       width: 100%;
+       background-color: #424b52;
+       margin: 0 auto;
+       width: 98%;
        height: 302px;
+       border-radius: 8px;
+        -webkit-border-radius: 8px;
+        -moz-border-radius: 8px;
+        behavior: url(/static/styles/PIE.htc);
 }
 
-td.events_of_the_day { width: 500px }
+.calendar th { 
+       background-color: #424b52;
+       border-color: #424b52; }
+
+#inner_day { padding: 0.1em; }
+
+td.events_of_the_day { width: 50% }
 
 .events_of_the_day dl {
        margin: 0;
-       padding: 0;
+/*     padding: 0;
        position: absolute;
        top: 0;
-       left:0;
-       width: 500px;
+       left:0; */
+       width: 100%;
 }
 
 .events_of_the_day dl dt {
@@ -945,11 +883,12 @@ td.events_of_the_day { width: 500px }
        text-align: left;       
 }
 
+.extra_events { border: 1px solid #ccc }
 
 .extra_events ul {
        list-style: none;
-       margin: 0;
        padding: 0;
+       margin: 0;
 }
 
 .extra_events ul li { margin: 4px }
@@ -1021,11 +960,7 @@ li.event_unread span, a.event_read_title { font-size: 100% }
        padding: 4px;
 }
 
-.roompic {
-       height: 48px;
-       width: 48px;
-       border: none;
-}
+.roompic { border: none; }
 
 .table-row, .table-alt-row { width: 100% }
 
@@ -1100,64 +1035,71 @@ li.event_unread span, a.event_read_title { font-size: 100% }
 
 #noscript_warning {
        position: fixed;
+       z-index: 999;
        top: 0;
-       left: 0;
+       right: 0;
        background-color: #FF0000;
        color: #FFFFFF;
+       font-size: 120%;
+       border: 2px solid #FF0000;
 }
 
 .chatrecv_history_class {
        position: absolute;
-       top: 0;
-       left: 1%;
-       width: 74%;
-       margin-top: 5px;
-       margin-bottom: 5px;
+       top: 0.5em;
+       left: 0.5%;
+       width: 700px;
        height: 70%;
-       background-color: #FFFFFF;
+       background-color: #edede0;
        overflow: auto;
-       border-style: solid;
-       border-color: #022750;
-       border-width: 1px;
-       padding-left: 3px;
-       padding-right: 3px;
+       border: 2px solid #424d52;
+       border-radius: 8px;
+       -khtml-border-radius: 8px;
+       -moz-border-radius: 8px;
+       behavior: url(/static/styles/PIE.htc);
+       -webkit-box-shadow: #666 0px 1px 2px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
+       padding: 0.5em;
 }
 
 .chat_userlist_class {
        position: absolute;
-       top: 0;
-       right: 1%;
-       width: 23%;
-       margin-top: 5px;
-       margin-bottom: 5px;
-       height: 70%;
-       background-color: #FFFFFF;
+       top: 0.5em;
+       right: 0.5%;
+       width: 110px;
+       height: 92%;
+       background-color: #edede0;
        overflow: auto;
-       border-style: solid;
-       border-color: #022750;
-       border-width: 1px;
-       padding-left: 3px;
-       padding-right: 3px;
+       border: 2px solid #424d52;
+       border-radius: 8px;
+       -khtml-border-radius: 8px;
+       -moz-border-radius: 8px;
+        box-shadow: #666 0px 2px 3px;
+       -webkit-box-shadow: #666 0px 1px 2px;
+        -moz-box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
+       padding: 0.5em;
 }
 
 .chatrecv_class { display: none }
 
 .chatsend_class {
        position: absolute;
-       left: 1%;
-       right: 1%;
-       height: 28%;
-       bottom: 0;
-       margin-top: 5px;
-       margin-bottom: 5px;
-       margin-left: auto;
-       margin-right: auto;
-       border-style: solid;
-       border-color: #022750;
-       border-width: 1px;
-       padding-left: 3px;
-       padding-right: 3px;
-       background-color: #004E79;
+       left: 0.5%;
+       bottom: 3%;
+       height: 95px;
+       width: 700px;
+       border: 2px solid #424d52;
+       border-radius: 8px; 
+       -khtml-border-radius: 8px;
+       -moz-border-radius: 8px;
+       box-shadow: #666 0px 2px 3px;
+       -webkit-box-shadow: #666 0px 1px 2px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       behavior: url(/static/styles/PIE.htc);
+       background-color: #7d858c;
+       padding: 0.5em;
 }
 
 .chat_myname_class {
@@ -1187,7 +1129,6 @@ a.event_title span, a.event_unread span, a.event_read span {
 
 a.event_title:hover, a.event_unread:hover, a.event_read:hover {
        z-index:25;
-       background:;
 }
 
 a.event_title:hover span.tooltip, a.event_unread:hover span.tooltip, a.event_read:hover span.tooltip {
@@ -1202,14 +1143,14 @@ a.event_title:hover span.tooltip, a.event_unread:hover span.tooltip, a.event_rea
 a.event_title:hover span.btttop, a.event_unread:hover span.btttop, a.event_read:hover span.btttop {
        display: block;
        padding: 30px 8px 0;
-       background: url(/static/bubble.gif) no-repeat top;
+       background: url(/static/webcit_icons/bubble.gif) no-repeat top;
 }
 
 /* different middle bg for stretch */
 a.event_title:hover span.bttmiddle, a.event_unread:hover span.bttmiddle, a.event_read:hover span.bttmiddle {
        display: block;
        padding: 0 8px; 
-       background: url(/static/bubble_filler.gif) repeat bottom; 
+       background: url(/static/webcit_icons/bubble_filler.gif) repeat bottom; 
        color: #022750;
        font-size: 10px;
 }
@@ -1217,18 +1158,18 @@ a.event_title:hover span.bttmiddle, a.event_unread:hover span.bttmiddle, a.event
 a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event_read:hover span.bttbottom {
        display: block;
        padding:3px 8px 10px;
-       background: url(/static/bubble.gif) no-repeat bottom;
+       background: url(/static/webcit_icons/bubble.gif) no-repeat bottom;
 }
 
-/*---------- bubble tooltips end -----------*/
 
+/*---------- styles for the blog view -----------*/
 
 .blog_post {
 }
 
 .blog_post_title {
        font-size: 150%;
-       font-style: bold;
+       font-weight: bold;
 }
 
 .blog_post_title a:link, .blog_post_title a:visited, .blog_post_title a:active {
@@ -1262,3 +1203,117 @@ a.event_title:hover span.bttbottom, a.event_unread:hover span.bttbottom, a.event
        font-size: 100%;
        font-style: italic;
 }
+
+.post_a_comment_title {
+       font-size: 120%;
+}
+
+/*---------- styles for the attachments form -----------*/
+
+#attachments_form {
+       display:none;
+       position:absolute;
+       top:5%;
+       bottom:5%;
+       right:5%;
+       left:5%;
+       z-index: 10;
+       padding: 5px;
+       border-width: 1px;
+       border-style: solid;
+       border-color: #022750;
+       -webkit-border-radius: 10px;
+       -moz-border-radius: 10px;
+       border-radius: 10px;
+       background: #FFFFFF;
+       background: -webkit-gradient(linear, 0 0, 0 bottom, from(#FFFFFF), to(#DDDDEE));
+       background: -moz-linear-gradient(#FFFFFF, #DDDDEE);
+       background: linear-gradient(#FFFFFF, #DDDDEE);
+       -pie-background: linear-gradient(#FFFFFF, #DDDDEE);
+       -webkit-box-shadow: #666 0px 2px 3px;
+       -moz-box-shadow: #666 0px 2px 3px;
+       box-shadow: #666 0px 2px 3px;
+}
+
+/*---------- styles for the login modal box -----------*/
+
+#loginbox_topline_container {
+       position: relative;
+       font-size: 110%;
+       color: white;
+}
+
+#loginbox_title {
+       float: left;
+       width: 75%;
+       text-align: center;
+       background-color: #022750;
+       border: 3px solid #022750;
+}
+
+#loginbox_closebutton {
+       float: right;
+       width: 23%;
+       text-align: right;
+       background-color: #ddd;
+       border: 3px solid #ddd;
+}
+
+#auth_container {
+       position: relative;
+       border: 1px solid #777;
+}
+
+#authbar {
+       top: 0;
+       left: 0;
+       width: 23%;
+       z-index: 0;
+       overflow: auto;
+       overflow-x: hidden !important;
+}
+
+#authbar ul {
+       margin-top: 1px;
+       margin-bottom: 0;
+}
+
+.authbox {
+       text-align: center;
+       position: absolute;
+       top: 0;
+       right: 0;
+       width: 75%;
+       height: 100%;
+       z-index: 0;
+       overflow: auto;
+       overflow-x: hidden !important;
+       background-color: #ddd;
+}
+
+#ajax_username_password_form, #ajax_newuser_form {
+       margin: auto;
+       width: 20em;
+}
+
+#ajax_username_password_form label, #ajax_newuser_form label {
+       float: left;
+       width: 10em;
+}
+
+.openid_urlarea {
+        background: url('../webcit_icons/openid-small.gif') no-repeat scroll 0pt 50%;
+        padding-left: 18px;
+}
+
+.older_blog_posts, .newer_blog_posts {
+       font-size: 110%;
+}
+
+.older_blog_posts {
+       text-align: left;
+}
+
+.newer_blog_posts {
+       text-align: right;
+}