code:
GNU social by Jonas Laugs with lettering by Steven DuBois.
License: CC0 1.0 Universal http://creativecommons.org/publicdomain/zero/1.0/

Default avatars are modified from an image by Francesco 'Architetto' Rollandin.
http://www.openclipart.org/detail/34957

Some icons by Mark James
http://www.famfamfam.com/lab/icons/silk/
http://creativecommons.org/licenses/by/2.5/ Creative Commons Attribution 2.5 License

Lato font by Łukasz Dziedzic (http://www.typoland.com) via Google Web Fonts (http://www.google.com/webfonts)
SIL Open Font License, 1.1 (http://scripts.sil.org/OFL)
Prepared for web with Font Squirrel (http://www.fontsquirrel.com/fontface/generator)

path: theme/neo-gnu/README


code:
/** theme: neo-gnu
 *
 * @package   GNUsocial
 * @author    Samantha Doherty <sammy@status.net>
 * @modified  MeikoDis <meikodis@meikodis.org>
 * @copyright 2011 StatusNet, Inc.
 * @license   http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution 3.0 Unported
 * @link      http://gnu.io/
 */

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-regular-webfont.eot?') format('eot'), url('../fonts/lato-regular-webfont.woff') format('woff'), url('../fonts/lato-regular-webfont.ttf') format('truetype'), url('../fonts/lato-regular-webfont.svg#webfontCjmEHx3G') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-bold-webfont.eot?') format('eot'), url('../fonts/lato-bold-webfont.woff') format('woff'), url('../fonts/lato-bold-webfont.ttf') format('truetype'), url('../fonts/lato-bold-webfont.svg#webfontCjmEHx3G') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-italic-webfont.eot?') format('eot'), url('../fonts/lato-italic-webfont.woff') format('woff'), url('../fonts/lato-italic-webfont.ttf') format('truetype'), url('../fonts/lato-italic-webfont.svg#webfontCjmEHx3G') format('svg');
    font-weight: normal;
    font-style: italic;
}

@media screen, projection, tv {

/* general styles and layout */

body {
    /* background-color: #C6C8CC;
    background-image: url(../images/bg.png); */
    background-color: #e9eaed;
    font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #222;
}

input, textarea, select, option {
    font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {color: #666;}
a:hover {color: #a22430;}

abbr {border-bottom: none;}

h1 {font-size: 1.6em;}
h2 {font-size: 1.6em;}
h3 {font-size: 1.4em;}
h4 {font-size: 1.4em;}
h5 {font-size: 1.2em;}
h6 {font-size: 1em;}

#wrap {
    background: #fff url('../images/brdr_black_dot.png') repeat-x 0px 10px;
}

#header {
    padding-top: 12px;
}

#core {
    border-top: 3px solid #ccc;
    border-left: 1px solid #d8dae6;
    border-right: 1px solid #d8dae6;
}

#aside_primary_wrapper {
    background-color: #ECECF2;
}

#content_wrapper  {
    border-right: 1px solid #d8dae6;
}

#site_nav_local_views_wrapper  {
    background-color: #ECECF2;
    border-right: 1px solid #d8dae6;
}

#footer {
    top: -6px;
    -webkit-border-top-left-radius: 6px;
    -webkit-border-top-right-radius: 6px;
    -moz-border-radius-topleft: 6px;
    -moz-border-radius-topright: 6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

/* header elements */

address img {
    max-width: 150px;
}

#site_nav_global_primary {
    top: 16px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    background: #ccc;
    background: -moz-linear-gradient(top, #666 0%, #ccc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666), color-stop(100%,#ccc));
    background: -webkit-linear-gradient(top, #666 0%,#ccc 100%);
    background: -o-linear-gradient(top, #666 0%,#ccc 100%);
    background: -ms-linear-gradient(top, #666 0%,#ccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666', endColorstr='#ccc',GradientType=0 );
    background: linear-gradient(top, #666 0%,#ccc 100%);
}

#site_nav_global_primary li {
    margin-right: 0px;
}

#site_nav_global_primary li:last-child {
    margin-right: 10px;
}

#site_nav_global_primary a {
    padding: 2px 10px 2px 10px;
    height: 20px;
    display: block;
    float: left;
    color: #fff;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}

#site_nav_global_primary a:hover {
    color: #fff;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
}

#header-search {
    top: 1px;
    margin-left: 6px;
}

#header-search #search-q {
    position: relative;
    width: 131px;
    height: 12px;
    margin-right: 10px;
    padding: 2px 22px 2px 6px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: none;
    font-size: 0.88em;
}

#header-search input[type="submit"] {
    border: 0;
    background: url(../images/magnifier.png) no-repeat 2px 1px;
    text-indent: -9999px;
    width: 20px;
    height: 18px;
    position: absolute;
    right: 10px;
    top: 2px;
    z-index: 2;
    cursor: pointer;
}

#site_notice {
    margin: 28px 0px 0px 160px;
    padding: 2px;
    background-color: #fff;
}

/* input forms */

.input_forms {
    float: left;
    top: -20px;
    left: -20px;
    padding: 18px 20px 0px 20px;
    border-bottom: none;
    margin-bottom: 0px;
    background: #fafafa url('../images/brdr_black_dot.png') repeat-x bottom left;
}

#input_form_nav li a {
    display: block;
    float: left;
    padding: 0px 10px 1px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    border: 1px solid #ECECF2;
    font-weight: bold;
    line-height: 1.4em;
    color: #666;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.9);
    background: #ececf2;
    background: -moz-linear-gradient(top, #ffffff 0%, #ececf2 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ececf2));
    background: -webkit-linear-gradient(top, #ffffff 0%,#ececf2 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#ececf2 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#ececf2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ececf2',GradientType=0 );
    background: linear-gradient(top, #ffffff 0%,#ececf2 100%);
}

#input_form_nav li:hover a, #input_form_nav li.current a {
    color: #fff;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
    border: 1px solid #ececf2;
    background: #ccc;
    background: -moz-linear-gradient(top, #666 0%, #ccc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666), color-stop(100%,#ccc));
    background: -webkit-linear-gradient(top, #666 0%,#ccc 100%);
    background: -o-linear-gradient(top, #666 0%,#ccc 100%);
    background: -ms-linear-gradient(top, #666 0%,#ccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666', endColorstr='#ccc',GradientType=0 );
    background: linear-gradient(top, #7b8dbb 0%,#ccc 100%);
}

.input_form_nav_tab a, .input_form_nav_tab.current a {
    text-decoration: none;
}

.input_form fieldset fieldset label {
    background: none;
}

.form_notice .error,
.form_notice .success,
.form_notice .notice-status {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.form_notice_placeholder .placeholder,
.form_notice textarea ,
.input_form .form_settings li input,
.input_form .form_settings li textarea,
.threaded-replies .placeholder { /* TODO combine all these declarations */
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

.input_form .form_settings .submit {
    font-size: 1.1em;
}

/* site nav local views */

#site_nav_local_views H3 {
    margin-bottom: 10px;
    padding-bottom: 6px;
    background: url('../images/brdr_black_dot.png') repeat-x bottom left;
    color: #7a7c87;
    font-size: 1.1em;
    letter-spacing: 2px;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

#site_nav_local_views a {
    display: block;
    width: 118px;
    padding: 0px 10px 1px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-transform: uppercase;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
    word-wrap: break-word;
}

#site_nav_local_views a:hover, #site_nav_local_views .current a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    background: #ccc;
    background: -moz-linear-gradient(top, #666 0%, #ccc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666), color-stop(100%,#ccc));
    background: -webkit-linear-gradient(top, #666 0%,#ccc 100%);
    background: -o-linear-gradient(top, #666 0%,#ccc 100%);
    background: -ms-linear-gradient(top, #666 0%,#ccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666', endColorstr='#ccc',GradientType=0 );
    background: linear-gradient(top, #666 0%,#ccc 100%);
}

/* aside primary */

#aside_primary .section {
    font-size: 0.88em;
}

#aside_primary h2 {
    margin-bottom: 10px;
    padding-bottom: 6px;
    background: url('../images/brdr_black_dot.png') repeat-x bottom left;
    color: #7a7c87;
    font-size: 1.25em;
    letter-spacing: 2px;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.profile_block .entity_actions {
    float: right;
    width: 110px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.profile_block .entity_moderation:hover ul,
.profile_block .entity_role:hover ul {
    right: 20px;
}

.profile_block_name {
    font-size: 14px;
    font-weight: bold;
}

.profile_block_location {
    font-weight: bold;
}

.profile_block_description {
    line-height: 1.2em;
}

#site_nav_object ul {
    background: url('../images/brdr_black_dot.png') repeat-x top left;
}

#site_nav_object li {
    display: block;
    margin: -8px 0px 8px 0px;
    padding-top: 8px;
}

#site_nav_object a {
    font-size: 14px;
    display: block;
    padding: 0px 0px 1px 10px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    text-transform: uppercase;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}

#site_nav_object a:hover, #site_nav_object .current a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    background: #ccc;
    background: -moz-linear-gradient(top, #666 0%, #ccc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666), color-stop(100%,#ccc));
    background: -webkit-linear-gradient(top, #666 0%,#ccc 100%);
    background: -o-linear-gradient(top, #666 0%,#ccc 100%);
    background: -ms-linear-gradient(top, #666 0%,#ccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666', endColorstr='#ccc',GradientType=0 );
    background: linear-gradient(top, #666 0%,#ccc 100%);
}

.section ul.entities {
    width: 240px;
}

.section .entities li {
    margin-right: 3.6px;
    margin-bottom: 5px;
    width: 24px;
}

#popular_notices .avatar {
    position: relative;
    top: 4px;
    margin-bottom: 6px;
}

#aside_primary td {
    padding-right: 20px;
    padding-bottom: 14px;
}

#aside_primary td .nickname {
    line-height: 1.6em;
}

.section .avatar {
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.invite_button {
    height: 2.1em;
    line-height: 2.1em;
    display: block;
    text-align: center;
    color:#fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
    border: 1px solid #c33541;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background: #a22430;
    background: -moz-linear-gradient(top, #a22430 0%, #c33541 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a22430), color-stop(100%,#c33541));
    background: -webkit-linear-gradient(top, #a22430 0%,#c33541 100%);
    background: -o-linear-gradient(top, #a22430 0%,#c33541 100%);
    background: -ms-linear-gradient(top, #a22430 0%,#c33541 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a22430', endColorstr='#c33541',GradientType=0 );
    background: linear-gradient(top, #a22430 0%,#c33541 100%);
}

.invite_button:hover {
    color: #fff;
    text-decoration: none;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
    background: #a22430;
    background: -moz-linear-gradient(top, #c33541 0%, #d44652 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c33541), color-stop(100%,#d44652));
    background: -webkit-linear-gradient(top, #a22430 0%,#d44652 100%);
    background: -o-linear-gradient(top, #a22430 0%,#d44652 100%);
    background: -ms-linear-gradient(top, #a22430 0%,#d44652 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a22430', endColorstr='#d44652',GradientType=0 );
    background: linear-gradient(top, #a22430 0%,#d44652 100%);

}

/* notices etc */

#content h1 {
    border-bottom: 3px solid #A6ADBF;
    color: #A6ADBF;
    font-size: 1.4em;
    letter-spacing: 4px;
    text-transform: none;
}

#content .notice {
    padding-bottom: 4px;
    border-bottom: 2px dotted #eee;
}

.notice div.entry-content {
    font-size: 0.88em;
    line-height: 1.2em;
    margin-top: 6px;
    opacity: 0.6;
}

.notice:hover div.entry-content {
    opacity: 1;
}

.user_in .notice div.entry-content {
    max-width: 440px;
}

div.entry-content a.response:before {
	content: "(";
}

div.entry-content a.response:after {
	content: ")";
}

.notice-options {
    margin-top: 4px;
}

.notice-options .form_repeat.dialogbox {
    margin-right: 0px;
    border: 1px solid #aaa;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

.notice-options .form_repeat.dialogbox legend {
    padding-top: 10px;
}

.notice-options .form_repeat.dialogbox input.submit_dialogbox {
    min-width: 80px;
}

#content .threaded-replies .notice .author .photo {
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.user_in.realtime-popup .notice div.entry-content {
    max-width: 320px;
}

.realtime-popup .threaded-replies {
    margin-left: 15px;
}

.realtime-popup .threaded-replies .form_notice textarea {
    width: 385px !important;
}

.realtime-popup .threaded-replies .form_notice label.notice_data-attach {
    top: 10px !important;
    right: 10px !important;
}

.pagination {
    height: 1.2em;
}

.entity_profile {
    float: left;
    width: 360px;
    margin-top: 4px;
}

.entity_profile .entity_depiction {
    margin-top: 4px;
}

.entity_actions {
    width: 140px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.entity_actions a, .entity_actions p, .entity_actions .entity_subscribe input, .entity_actions .entity_block input, .entity_actions .entity_moderation input, .entity_actions .entity_role input, .entity_actions .entity_nudge input, .entity_actions .entity_delete input, .entity_actions input.submit {
   	text-shadow:0 1px 0 rgba(255,255,255,0.4);
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background-color: #CDD1DD !important;
}

.entity_moderation:hover ul,
.entity_role:hover ul {
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.entity_send-a-message .form_notice legend {
   	text-shadow:0 1px 0 rgba(255,255,255,0.4);
}

.entity_send-a-message .form_notice {
    border: 1px solid #7B4E82;
}

.entity_send-a-message .form_notice #notice_action-submit {
    color: #fff !important;
    top: 46px;
}

.entity_subscribe .dialogbox, .entity_tag .dialogbox {
    border: 1px solid #aaa;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

.entity_subscribe .dialogbox input.submit_dialogbox, .entity_tag .dialogbox input.submit_dialogbox {
    color: #fff !important;
}

#filter_tags_item .submit {
  left: 6px;
  top: -3px;
}

#pagination {
    height: 1.2em;
    padding-bottom: 12px;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#pagination a {
    color: #666;
}

#footer a {
    color: #666;
}

#site_nav_global_secondary {
    margin-bottom: 10px;
}

.error, .success, .notice-status {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.form_notice input.submit, .form_settings input.submit, .form_settings input.cancel, #form_invite input.submit,
.entity_subscribe .dialogbox input.submit_dialogbox,
.entity_tag .dialogbox input.submit_dialogbox,
.form_repeat.dialogbox input.submit_dialogbox
{ /* TODO combine all these declarations */
    height: 1.9em;
    padding: 0px 10px;
    color:#fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
    border: 1px solid #c33541;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background: #a22430;
    background: -moz-linear-gradient(top, #a22430 0%, #c33541 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a22430), color-stop(100%,#c33541));
    background: -webkit-linear-gradient(top, #a22430 0%,#c33541 100%);
    background: -o-linear-gradient(top, #a22430 0%,#c33541 100%);
    background: -ms-linear-gradient(top, #a22430 0%,#c33541 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a22430', endColorstr='#c33541',GradientType=0 );
    background: linear-gradient(top, #a22430 0%,#c33541 100%);
}

.form_notice input.submit:hover, .form_settings input.submit:hover, .form_settings input.cancel:hover, #form_invite input.submit:hover,
.entity_subscribe .dialogbox input.submit_dialogbox:hover,
.entity_tag .dialogbox input.submit_dialogbox:hover,
.form_repeat.dialogbox input.submit_dialogbox:hover
{
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
    background: #a22430;
    background: -moz-linear-gradient(top, #c33541 0%, #d44652 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c33541), color-stop(100%,#d44652));
    background: -webkit-linear-gradient(top, #c33541 0%,#d44652 100%);
    background: -o-linear-gradient(top, #c33541 0%,#d44652 100%);
    background: -ms-linear-gradient(top, #c33541 0%,#d44652 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c33541', endColorstr='#d44652',GradientType=0 );
    background: linear-gradient(top, #c33541 0%,#d44652 100%);
}

.form_settings input#cancel, #form_action-no {
    background: #f2f2f2;
    color: #c33541;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}

.form_settings input#cancel:hover, #form_action-no:hover {
    background: #fff;
    color: #c33541;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}

.form_settings fieldset fieldset {
    margin-bottom: 30px;
    padding-top: 25px;
}

#invite #content p {
    margin-bottom: 15px;
}

#invite #content ul {
    list-style-type: none;
    margin-bottom: 25px;
    margin-left: 25px;
}

#invite #content li {
    background: url(../images/resultset_next.png) no-repeat 0px 3px;
    padding-left: 20px;
    margin-bottom: 10px;
}

#invite #content #form_invite ul, #invite #content #form_invite li {
    margin-left: 0px;
    padding-left: 0px;
    background: none;
}

#form_invite input[type=text], #form_invite textarea {
    width: 250px;
    padding: 5px;
    border: 1px solid #a6a6a6;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

#form_invite textarea {
    clear: left;
    width: 508px;
    height: 48px;
}

#form_invite a.add_row, #form_invite a.remove_row {
    display: block;
    height: 16px;
    width: 16px;
    overflow: hidden;
    background-image: url('../../base/images/icons/icons-01.gif');
    background-repeat: no-repeat;
}

#form_invite a.remove_row {
    background-position: 0px -1252px;
    display: inline-block;
    position: relative;
    top: 4px;
    left: 10px;
    line-height: 4em;
}

#form_invite a.add_row {
    clear: both;
    position: relative;
    top: 10px;
    background-position: 0px -1186px;
    width: 120px;
    padding-left: 20px;
    line-height: 1.2em;
}

#form_invite label[for=personal] {
    display: block;
    margin-top: 25px;
}

#content thead th {
text-align:left;
}
#content tbody th {
vertical-align:top;
text-align:left;
font-weight:normal;
padding-top:11px;
padding-right:18px;
}
#content tbody tr {
    border-top: 1px dotted #bbb;
}
#content td {
padding:11px 18px 11px 0;
vertical-align:top;
}
#content td:last-child {
padding-right:0;
}

/* Search */

#form_search {
    padding-bottom: 10px;
    margin-bottom: 20px;
    background: url('../images/brdr_black_dot.png') repeat-x bottom left;
}

#form_search fieldset {
    margin-bottom: 0px;
}

#form_search ul.form_data #q {
    margin-left: 10px;
    width: 210px;
}

#form_search input.submit {
    height: 1.6em;
    line-height: 1.6em;
    font-size: 1.1em;
    padding-bottom: 2px;
    margin-left: 5px;
}

#noticesearch .entity_actions {
    margin: 0px;
}

#noticesearch p.error {
    margin-top: 60px;
}

/* Limited-scope */

.limited-scope .entry-content .timestamp {
    padding-left: 20px;
    position: relative;
}

.limited-scope .entry-content .timestamp:before {
    content: url(../images/lock.png);
    position: absolute;
    top: -2px;
    left: 0px;
}

.limited-scope li .entry-content .timestamp {
    padding-left: 0px;
}

.limited-scope li .entry-content .timestamp:before {
    content: none;
}

.limited-scope li.limited-scope .entry-content .timestamp {
    padding-left: 20px;
}

.limited-scope li.limited-scope .entry-content .timestamp:before {
    content: url(../images/lock.png);
    position: absolute;
    top: -2px;
    left: 0px;
}

/* Blog */

label[for=blog-entry-content] {
    display: none !important;
}

#input_form_blog td {
    padding-top: 0px;
    padding-bottom: 0px;
}

#input_form_blog td.mceToolbar {
    padding-top: 4px;
}

h4.blog-entry-title {
    margin-bottom: 8px;
    line-height: 1.2em;
}

/* Bookmark specific styles */
/* TODO separate base styles and move to plugin */

.bookmark h3 {
    margin: 0px 0px 8px 0px;
    float: left;
    line-height: 1.2em;
    max-width: 92%;
}

.bookmark-notice-count {
    border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
    padding: 1px 6px;
    font-size: 1.2em;
    line-height: 1.2em;
    background: #fff;
    border: 1px solid #7b8dbb;
    color: #666 !important;
    position: relative;
    right: 4px;
    margin-left: 10px;
}

.bookmark-notice-count:hover {
    text-decoration: none;
    background: #f2f2f2;
    border: 1px solid #7b8dbb;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}

.notice .bookmark-description {
    clear: both;
    margin-left: 0px;
    margin-bottom: 0px;
}

.notice .bookmark-author {
    margin-left: 0px;
    float: left;
}

.bookmark-tags {
    clear: both;
    margin-bottom: 8px;
    line-height: 1.6em;
}

ul.bookmark-tags a {
    border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
    padding: 1px 6px;
    background: #f2f2f2;
    color: #666 !important;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
    font-size: 0.88em;
}

ul.bookmark-tags a:hover {
    background-color: #cdd1dd;
    text-decoration: none;
}

.bookmark-avatar {
    float: none !important;
    position: relative;
    top: 2px;
}

.bookmark div.entry-content {
    font-size: 0.88em;
    line-height: 1.2em;
    margin-top: 6px;
    opacity: 0.6;
    margin-bottom: 0px;
}

.bookmark:hover div.entry-content {
    opacity: 1;
}

#bookmarkpopup {
    min-width: 600px;
    margin-top: 0px;
    height: 100%;
    border: 10px solid #364A84;
    background: #364A84;
}

#bookmarkpopup #wrap {
    width: auto;
    min-width: 560px;
    padding: 40px 0px 25px 0px;
    margin-right: 2px;
    background: #fff url(../mobilelogo.png) no-repeat 6px 6px;
}

#bookmarkpopup #header {
    width: auto;
    padding: 0px 10px;
}

#bookmarkpopup .form_settings label {
    margin-top: 2px;
    text-align: right;
    width: 24%;
    font-size: 1.2em;
}

#bookmarkpopup .form_settings .form_data input {
    width: 60%;
}

#bookmarkpopup .form_guide {
    color: #777;
}

#bookmarkpopup #bookmark-submit {
    min-width: 100px;
}

#bookmarkpopup fieldset fieldset {
    margin-bottom: 10px;
}

#form_initial_bookmark.form_settings .form_data li {
    margin-bottom: 0px;
}

#form_new_bookmark.form_settings .bookmarkform-thumbnail {
    position: absolute;
    top: 50px;
    right: 0px;
}

/* Onboard specific styles */
/* TODO move to plugin */

#cboxOverlay{
    background: url(../images/lightbox_bg.png) repeat 0 0 !important;
}

#cboxContent{
    background: #fff url(../logo.png) no-repeat 10px bottom !important;
}

.onboard_iframe {
    background: none;
    padding: 10px;
}

.onboard_iframe #wrap {
    width: auto;
    background: none;
}

.onboard_welcome p {
    margin-bottom: 10px;
}

.onboard_welcome ul {
    list-style-type: none;
    margin-bottom: 10px;
}

.onboard_welcome ul li {
    background: url(../images/resultset_next.png) no-repeat 0px 3px;
    padding-left: 20px;
    margin-left: 10px;
}

#aside_primary #onboard_section {
    background: #f2f2f2;
    width: 196px;
    padding: 10px;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border: 1px solid #516499;
    background: #fafafa;
}

#onboard_section H2 {
    -webkit-border-top-left-radius: 4px;
    -moz-border-radius-topleft: 4px;
    border-top-left-radius: 4px;
    -webkit-border-top-right-radius: 4px;
    -moz-border-radius-topright: 4px;
    border-top-right-radius: 4px;
    position: relative;
    top: -11px;
    left: -11px;
    padding: 2px 0px 2px 10px;
    margin-right: -22px;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    background: #ccc;
    background: -moz-linear-gradient(top, #666 0%, #ccc 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#666), color-stop(100%,#ccc));
    background: -webkit-linear-gradient(top, #666 0%,#ccc 100%);
    background: -o-linear-gradient(top, #666 0%,#ccc 100%);
    background: -ms-linear-gradient(top, #666 0%,#ccc 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#666', endColorstr='#ccc',GradientType=0 );
    background: linear-gradient(top, #666 0%,#ccc 100%);
}

#onboard_section ul {
    list-style-type: none;
}

#onboard_section .onboard-step-incomplete {
    background: url(../images/resultset_next.png) no-repeat 0px 1px;
    padding-left: 20px;
    margin-bottom: 10px;
}

#onboard_section .onboard-step-complete {
    background: url(../images/tick.png) no-repeat 0px 1px;
    padding-left: 20px;
    margin-bottom: 10px;
    text-decoration: line-through;
    color: #555;
}

/* Billing specific styles */
/* TODO move to plugin */

#content table.billing_info {
    margin-top: 10px;
    background:rgba(240, 240, 240, 0.4);
}

#content table.billing_info th {
    text-align: right;
    width: 50%;
}

.invalid {
    border: solid 2px red !important;
}

#payment_history table {
    width: 100%;
}

#billingadminpanel .form_settings input {
    margin-right: 0px;
}

/* Directory specific styles */
/* TODO separate base styles and move to plugin */

div#profile_directory div.alpha_nav > a {
    border-left: 1px solid #ccc !important;
    padding-left: 3.5px !important;
    padding-right: 4px !important;
    margin-right: 0px;
    float: left;
    line-height: 1.4em;
}

div#profile_directory div.alpha_nav > a.first {
    border-left: none !important;
}

div#profile_directory div.alpha_nav a.current {
    background-color: #ECECF2 !important;
}

table.profile_list {
    margin-top: 25px;
}

.profile_list th {
    font-size: 0.8em;
}

.profile_list th#created {
    width: 100px;
}

.profile_list th#subscriptions {
    width: 90px;
}

.profile_list th.current {
        background: none !important;
}

.profile_list th.current.reverse {
        background: none !important;
}

.profile_list th.current a {
        padding-right: 25px;
        background: url(../images/bluearrow_down.png) no-repeat top right;
}

.profile_list th.current.reverse a {
        background: url(../images/bluearrow_up.png) no-repeat top right;
}

table.profile_list tr.alt {
    background-color: #fafafa !important;
    border: none !important;
}

td.entity_profile {
    width: auto;
    min-width: 250px;
}

.profile_list .fn {
    display: block;
    font-size: 1.1em;
    width: auto;
}

.profile_list .nickname, .profile_list .fn.nickname {
    position: relative;
    top: -8px;
    display: block;
    margin-bottom: -12px;
    font-size: 1.4em;
}

.profile_list .label {
    display: block;
    margin-left: 59px !important;
}

.profile_list .note {
    font-size: 0.88em;
    line-height: 1.36em;
}

.profile_list .entry_created, .profile_list .entry_subscriber_count, .profile_list .entry_notice_count {
    font-size: 0.88em;
}

.profile_list td.entity_actions {
    width: 24px;
    max-width: 24px;
    min-width: 24px;
    height: 20px;
    padding-left: 6px !important;
    position: relative;
    float: none;
    display: table-cell !important;
}

.profile_list .entity_actions ul {
    position: absolute;
    right: 20px;
}

.profile_list .entity_actions input {
    width: 22px;
    height: 22px;
    padding-top: 1px;
    padding-right: 0px;
    padding-left: 20px;
    display: block;
    overflow: hidden;
    font-size: 0em;
    border: 1px solid #CDD1DD;
}

.profile_list .form_group_leave input.submit,
.profile_list .form_user_unsubscribe input.submit {
    background-position: 2px -1250px;
}

.profile_list .form_group_join input.submit,
.profile_list .form_user_subscribe input.submit {
    background-position: 2px -1184px;
}

.profile_list .entity_actions input:hover {
    width: auto;
    padding-right: 10px;
    overflow: visible;
    font-size: 1em;
    line-height: 1.3em;
    border: 1px solid #A6ADBF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

/* Event specific styles */
/* TODO separate base styles and move to plugin */

.notice .vevent div {
    margin-bottom: 8px;
}

.event-info {
    margin-left: 0px !important;
    margin-top: 2px !important;
}

.notice .event-info + .notice-options {
    margin-top: 14px;
}

.notice .threaded-replies .event-info + .notice-options {
    margin-top: 20px;
}

#form_event_rsvp #new_rsvp_data {
    display: inline;
    margin: 10px 0px;
}

#form_event_rsvp input.submit {
    height: auto;
    padding: 0px 10px;
    margin-left: 10px;
    color:#fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1em;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
    border: 1px solid #c33541;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background: #a22430;
    background: -moz-linear-gradient(top, #a22430 0%, #c33541 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a22430), color-stop(100%,#c33541));
    background: -webkit-linear-gradient(top, #a22430 0%,#c33541 100%);
    background: -o-linear-gradient(top, #a22430 0%,#c33541 100%);
    background: -ms-linear-gradient(top, #a22430 0%,#c33541 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a22430', endColorstr='#c33541',GradientType=0 );
    background: linear-gradient(top, #a22430 0%,#c33541 100%);
}

#form_event_rsvp input.submit:hover {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
    background: #a22430;
    background: -moz-linear-gradient(top, #c33541 0%, #d44652 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c33541), color-stop(100%,#d44652));
    background: -webkit-linear-gradient(top, #c33541 0%,#d44652 100%);
    background: -o-linear-gradient(top, #c33541 0%,#d44652 100%);
    background: -ms-linear-gradient(top, #c33541 0%,#d44652 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c33541', endColorstr='#d44652',GradientType=0 );
    background: linear-gradient(top, #c33541 0%,#d44652 100%);
}

#wrap .vevent form.processing input.submit {
    text-indent: 0;
    background: #a22430;
}

#input_form_event .form_settings .form_data {
    float: left;
}

#input_form_event .form_settings .form_data li {
    float: left;
    width: auto;
}

#input_form_event .form_settings .form_data label {
    width: auto;
}

label[for=event-starttime], label[for=event-endtime] {
    display: none !important;
}

#event-starttime, #event-endtime {
    margin-top:  -1px;
    margin-bottom:  -1px;
    height: 2em;
}

#event-startdate, #event-enddate {
    margin-right: 20px;
    width: 120px;
}

/* QnA */

.question div.question-description {
    font-size: 1em;
    line-height: 1.36em;
    margin-top: 0px;
    opacity: 1;
}

.question div.answer-content, .qna-full-question div.answer-content {
    font-size: 1em;
    opacity: 1;
}

.qna-dummy-placeholder input, .question #qna-answer, .qna-full-question #qna-answer {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

.question-description input.submit, .answer-content input.submit {
    height: auto;
    padding: 0px 10px;
    margin: 6px 0px 10px 0px;
    color:#fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.1em;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
    border: 1px solid #c33541;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    background: #a22430;
    background: -moz-linear-gradient(top, #a22430 0%, #c33541 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a22430), color-stop(100%,#c33541));
    background: -webkit-linear-gradient(top, #a22430 0%,#c33541 100%);
    background: -o-linear-gradient(top, #a22430 0%,#c33541 100%);
    background: -ms-linear-gradient(top, #a22430 0%,#c33541 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a22430', endColorstr='#c33541',GradientType=0 );
    background: linear-gradient(top, #a22430 0%,#c33541 100%);
}

#qna-answer-submit {
    min-width: 100px;
}

.question .question-description input.submit:hover, .question .answer-content input.submit:hover {
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
    background: #a22430;
    background: -moz-linear-gradient(top, #c33541 0%, #d44652 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#c33541), color-stop(100%,#d44652));
    background: -webkit-linear-gradient(top, #c33541 0%,#d44652 100%);
    background: -o-linear-gradient(top, #c33541 0%,#d44652 100%);
    background: -ms-linear-gradient(top, #c33541 0%,#d44652 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c33541', endColorstr='#d44652',GradientType=0 );
    background: linear-gradient(top, #c33541 0%,#d44652 100%);
}

.question .question-description #answer-form input.submit {
    margin-top: 0px;
}

.question p.best, .answer p.best {
    background: url(../images/rosette.png) no-repeat top left;
    padding-left: 20px;
}

.question p.best:before, .answer p.best:before {
    content: none !important;
}

/* Poll specific styles */

.notice div.poll-content {
    opacity: 1;
}

#poll-response-submit {
    min-width: 100px;
}

/* SNOD CompanyLogo styling */
/* TODO move to plugin */

#site_nav_local_views a.company_logo {
    width: 138px;
    padding: 0px;
    font-weight: bold;
    text-transform: none;
    line-height: 1em;
    margin-bottom: 0px;
    position: relative;
    top: -4px;
}

#site_nav_local_views a.company_logo:hover {
    background: none;
    color: blue;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}

.company_logo img {
    max-width: 138px;
    margin-bottom: 4px;
}

.company_logo span {
    display: block;
}

a.company_logo:hover span {
    text-decoration: underline;
}

}/*end of @media screen, projection, tv*/

license: mit


code:
body {
    background-image: none;
    min-width: 0;
}

#header {
    padding: 0;
}

#site_nav_global_primary {
    top: 0;
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    border-top-right-radius: 0px;
    line-height: 16px;
}

#site_nav_global_primary li {
    float: left;
    margin-right: 8px;
}

#site_nav_local_views {
    line-height: 2em;
}

#site_nav_local_views h3 {
    color: #333;
    background: none;
    text-transform: none;
    letter-spacing: 0;
    padding-bottom: 0;
}

#site_nav_local_views li li {
    margin: 0 6px 6px 0;
}

#login #site_nav_local_views li, #register #site_nav_local_views li, #openidlogin #site_nav_local_views li {
    margin: 0 6px 6px 0;
}

#site_nav_local_views a {
    color: #fff;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);;
    background: #364a84;
    background: -moz-linear-gradient(top, #7b8dbb , #364a84);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7b8dbb), color-stop(100%,#364a84));
    font-size: 0.9em;
    width: auto;
}

#site_nav_local_views a:hover {
    background: #7b8dbb;
    background: -moz-linear-gradient(top, #364a84 , #7b8dbb);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#364a84), color-stop(100%,#7b8dbb));
}

.input_forms {
    top: -10px;
    padding-right: 0;
}

#input_form_nav li a {
    padding: 0px 4px 1px 4px;
}

.form_notice .count {
    top: 44px;
    left: 276px;
}

#form_notice-direct.form_notice .count {
    top: 74px;
    left: 276px;
}

#event-startdate, #event-starttime, #event-enddate, #event-endtime {
    width: 120px;
    margin-right: 12px;
}

.input_form .form_settings .submit {
    font-size: 1em;
}

.form_notice input.submit {
    font-size: 1em;
}

.question div.question-description {
    max-width: 100% !important;
}

ul.qna-dummy {
    width: 80%;
}

.qna-dummy-placeholder input {
    width: 92%;
}

.question #qna-answer, .qna-full-question #qna-answer {
    width: 220px;
}

.threaded-replies #answer-form fieldset {
    width: 220px;
}

.threaded-replies #qna-answer-submit {
    float: left;
    clear: left;
    position: relative;
    top: 0;
    bottom: 0px;
    left: 0;
    margin-top: 10px;
}

a.company_logo {
    display: none !important;
}


code:
/** theme: neo
 *
 * @package   StatusNet
 * @author    Osama Khalid <osamak@gnu.org>
 * @copyright Osama Khalid
 * @license   http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution 3.0 Unported
 * @link      http://status.net/
 */

body {
    direction: rtl;
}

span.rtl{
    direction: rtl !important;
}

#content .notice .entry-title{
    direction: ltr;
}

.form_notice textarea{
    direction: ltr;
}

#site_nav_global_primary ul{
    float: left;
}

.notice div.entry-content {
    float: right;
    clear: right;
}

#content .notice .threaded-replies .notice div.entry-content{
    clear: right;
    float: right;
}

#content h1{
    font-weight: bold;
    letter-spacing: 0;
}

.threaded-replies {
    border-right: 3px solid #ECECF2;
    border-left: 0;
    margin-right: 59px;
    margin-left: 0;
}

address{
    float: right;
}

#site_nav_global_primary {
    left: 0;
    right: auto;
}

.input_form .form_settings .submit{
    float: left;
}

.input_form .form_settings fieldset fieldset{
    float: right;
}

.input_form fieldset fieldset label{
    right: 6px;
    text-align: right;
}

#input_form_event .form_settings .form_data li{
    float: right;
}

.notice .author {
    direction: rtl;
    float: right;
    margin-left: 8px;
    margin-right: 0;
}

.section .notice .author {
    margin-left: 0;
}

.notice p.entry-content {
    float: left;
}

.threaded-replies .form_notice #notice_action-submit {
    right: 10px;
}

.form_notice input.submit{
    float: right;
}

#export_data li a{
    padding-right: 30px;
    padding-left: 0;
/*    background-position: right center; */
}

#content .notice .threaded-replies .notice .entry-title{
    margin: 2px 35px 0 7px;
}

#content .notice .entry-title {
    margin: 2px 59px 0 7px;
}

#content .notice .author .photo{
    right: 0;
    left: auto;
}

.notice-options{
    float: left;
}

.notice div.entry-content {
    margin-right: 59px;
    margin-left: 0;
}

#core .vcard .photo {
    margin-left: 11px;
    margin-right: 0;
}

.threaded-replies .notice-reply-comments {
    margin: 2px 10px 4px 0;
}

#shownotice .notice div.entry-content {
    margin-right: 0;
}

.notice .addressees:before {
    content: '\25C2';
}

#content thead th {
    text-align: right;
}

.profile_list th.current a {
    background-position: left top;
    padding-left: 25px;
}

.form_settings .form_data textarea, .form_settings .form_data select, .form_settings .form_data input {
    float: right;
    margin-right: 1.795%;
}

.form_settings .form_data label {
    float: right;
}

.form_settings label {
    text-align: left;
}

#form_search input.submit {
    margin-right: 5px;
}

#site_nav_local_views H3{
    font-weight: bold;
    letter-spacing: 0;
}

#aside_primary h2{
    font-weight: bold;
    letter-spacing: 0;
}

.form_settings label[for="notice_to"] {
    margin-left: 10px;
    margin-right: 0;
}

select {
    padding-left: 10px;
}

#input_form_nav li a {
    float: right;
}

#content table.extended-profile td {
    padding-left: 0 !important;
    padding-right: 8px !important;
}

.experience-item, .education-item {
    float: right;
}

#site_nav_global_primary a {
    float: right;
}

.form_settings .form_data p.form_guide {
    margin-right: 27%;
}

.form_settings label.checkbox {
    text-align: right;
}

.form_settings label.checkbox, .form_settings label.radio {
    left: 0;
    right: -25px;
}

.form_settings input.checkbox, .form_settings input.radio {
    margin-right: 25%;
    margin-left: 20px;
    right: -14px;
    left: 0;
}

.form_settings input {
    margin-left: 20px;
}

.form_settings .form_data li {
    float: right;
}

#header-search {
    float: left;
}

#header-search input[type="submit"] {
    left: 0;
    right: auto;
}

#avatarfile {
    width: 100%;
}

.form_settings .checkbox-wrapper label.checkbox {
    right: -3px;
    left: auto;
}

.checkbox-wrapper.unchecked label.checkbox, .checkbox-wrapper.checked label.checkbox {
    padding-right: 20px;
    padding-left: 0;
    background-position: right center;
}

.input_form .form_settings .form_data p.form_guide {
    margin-right: 5px;
    margin-left: 27%;
}

.experience-item, .education-item {
    float: right !important;
}

.profile_block .entity_actions {
    float: left;
}

.profile .entity_profile .fn, .profile .entity_profile .label {
    margin-right: 11px;
    margin-left: 0;
}

#core .vcard .photo {
    float: right;
}

.profile_list .label {
    margin-right: 59px !important;
}

.profile .entity_profile .note, .profile .entity_profile .url, .profile .entity_profile .entity_tags, .profile .entity_profile .form_subscription_edit {
    margin-right: 59px;
    margin-left: 0;
}

.profile_list .entity_actions ul {
    left: 20px;
    right: auto;
}

.entity_actions input.submit {
   text-align: right;
}

#entity_statistics dt, #entity_statistics dd {
    margin-left: 11px;
    margin-right: 0;
}

#showstream .notice .entry-title, #showstream .notice div.entry-content {
    margin-right: 0;
}

.limited-scope .entry-content .timestamp:before {
    right: 0;
    left: auto;
}

.limited-scope .entry-content .timestamp {
    padding-left: 0;
    padding-right: 20px;
}

.section ul.entities {
    float: right;
}

.section .entities li {
    float: right;
}


code:
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on April 14, 2011 */

@font-face {
    font-family: 'LatoBold';
    src: url('lato-bold-webfont.eot');
    src: local('☺'), url('lato-bold-webfont.woff') format('woff'), url('lato-bold-webfont.ttf') format('truetype'), url('lato-bold-webfont.svg#webfontRFDbyVDk') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LatoItalic';
    src: url('lato-italic-webfont.eot');
    src: local('☺'), url('lato-italic-webfont.woff') format('woff'), url('lato-italic-webfont.ttf') format('truetype'), url('lato-italic-webfont.svg#webfont7qSu1Vfu') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'LatoRegular';
    src: url('lato-regular-webfont.eot');
    src: local('☺'), url('lato-regular-webfont.woff') format('woff'), url('lato-regular-webfont.ttf') format('truetype'), url('lato-regular-webfont.svg#webfontCjmEHx3G') format('svg');
    font-weight: normal;
    font-style: normal;
}


code:
/** theme: neo-light
 *
 * @package   StatusNet
 * @author    Samantha Doherty <sammy@status.net>
 * @copyright 2011 StatusNet, Inc.
 * @license   http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution 3.0 Unported
 * @link      http://status.net/
 */

@media screen, projection, tv {

body {
    background: #f0f2f5;
}

#wrap {
    background-color: #f0f2f5;
    border: none;
}

#aside_primary_wrapper {
    background-color: #fafafa;
}

#content_wrapper  {
    border-right: 1px solid #fff;
}

#site_nav_local_views_wrapper  {
    background-color: #fafafa;
    border-right: 1px solid #fff;
}

#site_notice {
    background: #fff;
}

.input_forms {
    background-color: #fff;
    left: 0px;
    padding: 18px 0px 0px 0px;
}

}/*end of @media screen, projection, tv*/


code:
/* copy of mp-screen.css from neo theme */

body {
    background-image: none;
    min-width: 0;
}

#header {
    padding: 0;
}

#site_nav_global_primary {
    top: 0;
    -webkit-border-top-right-radius: 0px;
    -moz-border-radius-topright: 0px;
    border-top-right-radius: 0px;
    line-height: 16px;
}

#site_nav_global_primary li {
    float: left;
    margin-right: 8px;
}

#site_nav_local_views {
    line-height: 2em;
}

#site_nav_local_views h3 {
    color: #333;
    background: none;
    text-transform: none;
    letter-spacing: 0;
    padding-bottom: 0;
}

#site_nav_local_views li li {
    margin: 0 6px 6px 0;
}

#login #site_nav_local_views li, #register #site_nav_local_views li, #openidlogin #site_nav_local_views li {
    margin: 0 6px 6px 0;
}

#site_nav_local_views a {
    color: #fff;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);;
    background: #364a84;
    background: -moz-linear-gradient(top, #7b8dbb , #364a84);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7b8dbb), color-stop(100%,#364a84));
    font-size: 0.9em;
    width: auto;
}

#site_nav_local_views a:hover {
    background: #7b8dbb;
    background: -moz-linear-gradient(top, #364a84 , #7b8dbb);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#364a84), color-stop(100%,#7b8dbb));
}

.input_forms {
    top: -10px;
    padding-right: 0;
}

#input_form_nav li a {
    padding: 0px 4px 1px 4px;
}

.form_notice .count {
    top: 44px;
    left: 276px;
}

#form_notice-direct.form_notice .count {
    top: 74px;
    left: 276px;
}

#event-startdate, #event-starttime, #event-enddate, #event-endtime {
    width: 120px;
    margin-right: 12px;
}

.input_form .form_settings .submit {
    font-size: 1em;
}

.form_notice input.submit {
    font-size: 1em;
}

.question div.question-description {
    max-width: 100% !important;
}

ul.qna-dummy {
    width: 80%;
}

.qna-dummy-placeholder input {
    width: 92%;
}

.question #qna-answer, .qna-full-question #qna-answer {
    width: 220px;
}

.threaded-replies #answer-form fieldset {
    width: 220px;
}

.threaded-replies #qna-answer-submit {
    float: left;
    clear: left;
    position: relative;
    top: 0;
    bottom: 0px;
    left: 0;
    margin-top: 10px;
}

a.company_logo {
    display: none !important;
}


code:
Neo Quitter
==========================================

* Author:    Hannes Mannerheim (<h@nnesmannerhe.im>)
* Last mod.: Oct, 2014
* Version:   1
* GitHub:    <https://github.com/hannesmannerheim/neo-quitter>

Neo Quitter is free  software:  you can  redistribute it  and / or  modify it
under the  terms of the GNU Affero General Public License as published by
the Free Software Foundation,  either version three of the License or (at
your option) any later version.

Neo Quitter is distributed  in hope that  it will be  useful but  WITHOUT ANY
WARRANTY;  without even the implied warranty of MERCHANTABILTY or FITNESS
FOR A PARTICULAR PURPOSE.  See the  GNU Affero General Public License for
more details.

You should have received a copy of the  GNU Affero General Public License
along with Neo Quitter. If not, see <http://www.gnu.org/licenses/>.

About
-----

Neo Quitter is based Neo, the standard theme for GNU Social.

Setup
-----

1. Add the directory neo-quitter to your /theme/ folder

2. add `$config['site']['theme'] = 'neo-quitter';` to config.php

Credits
-------

Default avatars are modified from an image by Francesco 'Architetto' Rollandin.
http://www.openclipart.org/detail/34957

Some icons by Mark James
http://www.famfamfam.com/lab/icons/silk/
http://creativecommons.org/licenses/by/2.5/ Creative Commons Attribution 2.5 License

Lato font by Łukasz Dziedzic (http://www.typoland.com) via Google Web Fonts (http://www.google.com/webfonts)
SIL Open Font License, 1.1 (http://scripts.sil.org/OFL)
Prepared for web with Font Squirrel (http://www.fontsquirrel.com/fontface/generator)


code:
/** theme: neo
 *
 * @package   StatusNet
 * @author    Osama Khalid <osamak@gnu.org>
 * @copyright Osama Khalid
 * @license   http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution 3.0 Unported
 * @link      http://status.net/
 */

body {
    direction: rtl;
}

span.rtl{
    direction: rtl !important;
}

#content .notice .h-entry {
    direction: ltr;
}

.form_notice textarea{
    direction: ltr;
}

#site_nav_global_primary ul{
    float: left;
}

.notice div.e-content {
    float: right;
    clear: right;
}

#content .notice .threaded-replies .notice div.e-content{
    clear: right;
    float: right;
}

#content h1{
    font-weight: bold;
    letter-spacing: 0;
}

.threaded-replies {
    border-right: 3px solid #ECECF2;
    border-left: 0;
    margin-right: 59px;
    margin-left: 0;
}

address{
    float: right;
}

#site_nav_global_primary {
    left: 0;
    right: auto;
}

.input_form .form_settings .submit{
    float: left;
}

.input_form .form_settings fieldset fieldset{
    float: right;
}

.input_form fieldset fieldset label{
    right: 6px;
    text-align: right;
}

#input_form_event .form_settings .form_data li{
    float: right;
}

.notice .author {
    direction: rtl;
    float: right;
    margin-left: 8px;
    margin-right: 0;
}

.section .notice .author {
    margin-left: 0;
}

.notice p.e-content {
    float: left;
}

.threaded-replies .form_notice #notice_action-submit {
    right: 10px;
}

.form_notice input.submit{
    float: right;
}

#export_data li a{
    padding-right: 30px;
    padding-left: 0;
/*    background-position: right center; */
}

#content .notice .author .u-photo{
    right: 0;
    left: auto;
}

.notice-options{
    float: left;
}

.notice div.e-content {
    margin-right: 59px;
    margin-left: 0;
}

#core .h-card .u-photo {
    margin-left: 11px;
    margin-right: 0;
}

.threaded-replies .notice-reply-comments {
    margin: 2px 10px 4px 0;
}

#shownotice .notice div.e-content {
    margin-right: 0;
}

#content thead th {
    text-align: right;
}

.profile_list th.current a {
    background-position: left top;
    padding-left: 25px;
}

.form_settings .form_data textarea, .form_settings .form_data select, .form_settings .form_data input {
    float: right;
    margin-right: 1.795%;
}

.form_settings .form_data label {
    float: right;
}

.form_settings label {
    text-align: left;
}

#form_search input.submit {
    margin-right: 5px;
}

#site_nav_local_views H3{
    font-weight: bold;
    letter-spacing: 0;
}

#aside_primary h2{
    font-weight: bold;
    letter-spacing: 0;
}

.form_settings label[for="notice_to"] {
    margin-left: 10px;
    margin-right: 0;
}

select {
    padding-left: 10px;
}

#input_form_nav li a {
    float: right;
}

#content table.extended-profile td {
    padding-left: 0 !important;
    padding-right: 8px !important;
}

.experience-item, .education-item {
    float: right;
}

#site_nav_global_primary a {
    float: right;
}

.form_settings .form_data p.form_guide {
    margin-right: 27%;
}

.form_settings label.checkbox {
    text-align: right;
}

.form_settings label.checkbox, .form_settings label.radio {
    left: 0;
    right: -25px;
}

.form_settings input.checkbox, .form_settings input.radio {
    margin-right: 25%;
    margin-left: 20px;
    right: -14px;
    left: 0;
}

.form_settings input {
    margin-left: 20px;
}

.form_settings .form_data li {
    float: right;
}

#header-search {
    float: left;
}

#header-search input[type="submit"] {
    left: 0;
    right: auto;
}

#avatarfile {
    width: 100%;
}

.form_settings .checkbox-wrapper label.checkbox {
    right: -3px;
    left: auto;
}

.checkbox-wrapper.unchecked label.checkbox, .checkbox-wrapper.checked label.checkbox {
    padding-right: 20px;
    padding-left: 0;
    background-position: right center;
}

.input_form .form_settings .form_data p.form_guide {
    margin-right: 5px;
    margin-left: 27%;
}

.experience-item, .education-item {
    float: right !important;
}

.profile_block .entity_actions {
    float: left;
}

.profile .entity_profile .p-name, .profile .entity_profile .label {
    margin-right: 11px;
    margin-left: 0;
}

#core .h-card .u-photo {
    float: right;
}

.profile_list .label {
    margin-right: 59px !important;
}

.profile .entity_profile .note, .profile .entity_profile .url, .profile .entity_profile .entity_tags, .profile .entity_profile .form_subscription_edit {
    margin-right: 59px;
    margin-left: 0;
}

.profile_list .entity_actions ul {
    left: 20px;
    right: auto;
}

.entity_actions input.submit {
   text-align: right;
}

#entity_statistics dt, #entity_statistics dd {
    margin-left: 11px;
    margin-right: 0;
}

#showstream .notice .h-entry, #showstream .notice div.e-content {
    margin-right: 0;
}

.limited-scope .e-content .timestamp:before {
    right: 0;
    left: auto;
}

.limited-scope .e-content .timestamp {
    padding-left: 0;
    padding-right: 20px;
}

.section ul.entities {
    float: right;
}

.section .entities li {
    float: right;
}


code:
Default avatars are modified from an image by Francesco 'Architetto' Rollandin.
http://www.openclipart.org/detail/34957

Some icons by Mark James
http://www.famfamfam.com/lab/icons/silk/
http://creativecommons.org/licenses/by/2.5/ Creative Commons Attribution 2.5 License

Lato font by Łukasz Dziedzic (http://www.typoland.com) via Google Web Fonts (http://www.google.com/webfonts)
SIL Open Font License, 1.1 (http://scripts.sil.org/OFL)
Prepared for web with Font Squirrel (http://www.fontsquirrel.com/fontface/generator)

path: theme/neo/README


code:
/** theme: neo
 *
 * @package   StatusNet
 * @author    Samantha Doherty <sammy@status.net>
 * @copyright 2011 StatusNet, Inc.
 * @license   http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution 3.0 Unported
 * @link      http://status.net/
 */

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-regular-webfont.eot?') format('eot'), url('../fonts/lato-regular-webfont.woff') format('woff'), url('../fonts/lato-regular-webfont.ttf') format('truetype'), url('../fonts/lato-regular-webfont.svg#webfontCjmEHx3G') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-bold-webfont.eot?') format('eot'), url('../fonts/lato-bold-webfont.woff') format('woff'), url('../fonts/lato-bold-webfont.ttf') format('truetype'), url('../fonts/lato-bold-webfont.svg#webfontCjmEHx3G') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Lato';
    src: url('../fonts/lato-italic-webfont.eot?') format('eot'), url('../fonts/lato-italic-webfont.woff') format('woff'), url('../fonts/lato-italic-webfont.ttf') format('truetype'), url('../fonts/lato-italic-webfont.svg#webfontCjmEHx3G') format('svg');
    font-weight: normal;
    font-style: italic;
}

@media screen, projection, tv {

/* general styles and layout */

body {
    background-color: #C6C8CC;
    background-image: url(../images/bg.png);
    font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #222;
}

input, textarea, select, option {
    font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {color: #3e3e8c;}
a:hover {color: blue;}

abbr {border-bottom: none;}

#wrap {
    background: #fff url('../images/brdr_black_dot.png') repeat-x 0px 10px;
}

#header {
    padding-top: 12px;
}

#core {
    border-top: 5px solid #FB6104;
    border-left: 1px solid #d8dae6;
    border-right: 1px solid #d8dae6;
}

#aside_primary_wrapper {
    background-color: #ececf2;
}

#content_wrapper  {
    border-right: 1px solid #d8dae6;
}

#site_nav_local_views_wrapper  {
    background-color: #ececf2;
    border-right: 1px solid #d8dae6;
}

#footer {
    top: -6px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
}

/* header elements */

#site_nav_global_primary {
    top: 10px;
    border-top-right-radius: 6px;
    background: #364A84;
    background: -moz-linear-gradient(top, #516499 0%, #364a84 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#516499), color-stop(100%,#364a84));
    background: -webkit-linear-gradient(top, #516499 0%,#364a84 100%);
    background: -o-linear-gradient(top, #516499 0%,#364a84 100%);
    background: -ms-linear-gradient(top, #516499 0%,#364a84 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#516499', endColorstr='#364a84',GradientType=0 );
    background: linear-gradient(top, #516499 0%,#364a84 100%);
}

#site_nav_global_primary li {
    margin-right: 0px;
}

#site_nav_global_primary li:last-child {
    margin-right: 10px;
}

#site_nav_global_primary a {
    padding: 2px 10px 2px 10px;
    height: 20px;
    display: block;
    float: left;
    color: #fff;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
}

#site_nav_global_primary a:hover {
    color: #fff !important;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    background: #4c619c;
    text-decoration: none;
}

#header-search {
    top: 1px;
    margin-left: 6px;
}

#header-search #search-q {
    position: relative;
    width: 131px;
    height: 12px;
    margin-right: 10px;
    padding: 2px 22px 2px 6px;
    border-radius: 4px;
    border: none;
    font-size: 0.88em;
}

#header-search input[type="submit"] {
    border: 0;
    background: url(../images/magnifier.png) no-repeat 2px 1px;
    text-indent: -9999px;
    width: 20px;
    height: 18px;
    position: absolute;
    right: 10px;
    top: 2px;
    z-index: 2;
    cursor: pointer;
}

#site_notice {
    border-radius: 6px;
}

/* input forms */

.input_forms {
    float: left;
    top: -20px;
    left: -20px;
    padding: 18px 20px 0px 20px;
    border-bottom: none;
    margin-bottom: 0px;
    background: #fafafa url('../images/brdr_black_dot.png') repeat-x bottom left;
}

#input_form_nav li a {
    display: block;
    float: left;
    padding: 0px 10px 1px 10px;
    border-radius: 4px;
    border: 1px solid #ECECF2;
    font-weight: bold;
    line-height: 1.4em;
    color: #3e3e8c;
    text-shadow: 0px 1px 0px rgba(255, 255, 255, 0.9);
    background: #ececf2;
    background: -moz-linear-gradient(top, #ffffff 0%, #ececf2 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#ececf2));
    background: -webkit-linear-gradient(top, #ffffff 0%,#ececf2 100%);
    background: -o-linear-gradient(top, #ffffff 0%,#ececf2 100%);
    background: -ms-linear-gradient(top, #ffffff 0%,#ececf2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ececf2',GradientType=0 );
    background: linear-gradient(top, #ffffff 0%,#ececf2 100%);
}

#input_form_nav li:hover a, #input_form_nav li.current a {
    color: #fff;
    text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
    border: 1px solid #ececf2;
    background: #364a84;
    background: -moz-linear-gradient(top, #7b8dbb 0%, #364a84 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7b8dbb), color-stop(100%,#364a84));
    background: -webkit-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
    background: -o-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
    background: -ms-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b8dbb', endColorstr='#364a84',GradientType=0 );
    background: linear-gradient(top, #7b8dbb 0%,#364a84 100%);
}

.input_form_nav_tab a, .input_form_nav_tab.current a {
    text-decoration: none;
}

.form_notice .error,
.form_notice .success,
.form_notice .notice-status {
    border-radius: 4px;
}

.form_notice_placeholder .placeholder,
.form_notice textarea ,
.input_form .form_settings li input,
.input_form .form_settings li textarea,
.threaded-replies .placeholder { /* TODO combine all these declarations */
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

.input_form .form_settings .submit {
    font-size: 1.1em;
}

/* site nav local views */

#site_nav_local_views H3 {
    margin-bottom: 10px;
    padding-bottom: 6px;
    background: url('../images/brdr_black_dot.png') repeat-x bottom left;
    color: #7a7c87;
    font-size: 1.1em;
    letter-spacing: 2px;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

#site_nav_local_views a {
    display: block;
    width: 118px;
    padding: 0px 10px 1px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
    word-wrap: break-word;
}

#site_nav_local_views a:hover, #site_nav_local_views .current a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    background: #364a84;
    background: -moz-linear-gradient(top, #7b8dbb 0%, #364a84 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7b8dbb), color-stop(100%,#364a84));
    background: -webkit-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
    background: -o-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
    background: -ms-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b8dbb', endColorstr='#364a84',GradientType=0 );
    background: linear-gradient(top, #7b8dbb 0%,#364a84 100%);
}

/* aside primary */

#aside_primary .section {
    font-size: 0.88em;
}

#aside_primary h2 {
    margin-bottom: 10px;
    padding-bottom: 6px;
    background: url('../images/brdr_black_dot.png') repeat-x bottom left;
    color: #7a7c87;
    font-size: 1.25em;
    letter-spacing: 2px;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
}

.profile_block .entity_actions {
    float: right;
    width: 110px;
    margin-top: 2px;
    margin-bottom: 2px;
}

.profile_block .entity_moderation:hover ul,
.profile_block .entity_role:hover ul {
    right: 20px;
}

.profile_block_name {
    font-size: 14px;
    font-weight: bold;
}

.profile_block_location {
    font-weight: bold;
}

.profile_block_description {
    line-height: 1.2em;
}

#site_nav_object ul {
    background: url('../images/brdr_black_dot.png') repeat-x top left;
}

#site_nav_object li {
    display: block;
    margin: -8px 0px 8px 0px;
    padding-top: 8px;
}

#site_nav_object a {
    font-size: 14px;
    display: block;
    padding: 0px 0px 1px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}

#site_nav_object a:hover, #site_nav_object .current a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    background: #364a84;
    background: -moz-linear-gradient(top, #7b8dbb 0%, #364a84 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7b8dbb), color-stop(100%,#364a84));
    background: -webkit-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
    background: -o-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
    background: -ms-linear-gradient(top, #7b8dbb 0%,#364a84 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7b8dbb', endColorstr='#364a84',GradientType=0 );
    background: linear-gradient(top, #7b8dbb 0%,#364a84 100%);
}

.section ul.entities {
    width: 240px;
}

.section .entities li {
    margin-right: 3.6px;
    margin-bottom: 5px;
    width: 24px;
}

#popular_notices .avatar {
    position: relative;
    top: 4px;
    margin-bottom: 6px;
}

#aside_primary td {
    padding-right: 20px;
    padding-bottom: 14px;
}

#aside_primary td .nickname {
    line-height: 1.6em;
}

.section .avatar {
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.invite_button {
    height: 2.1em;
    line-height: 2.1em;
    display: block;
    text-align: center;
    color:#fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
    border: 1px solid #d7621c;
    border-radius: 4px;
    background: #FB6104;
    background: -moz-linear-gradient(top, #ff9d63 0%, #fb6104 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff9d63), color-stop(100%,#fb6104));
    background: -webkit-linear-gradient(top, #ff9d63 0%,#fb6104 100%);
    background: -o-linear-gradient(top, #ff9d63 0%,#fb6104 100%);
    background: -ms-linear-gradient(top, #ff9d63 0%,#fb6104 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9d63', endColorstr='#fb6104',GradientType=0 );
    background: linear-gradient(top, #ff9d63 0%,#fb6104 100%);
}

.invite_button:hover {
    color: #fff;
    text-decoration: none;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
    background: #ff9d63;
    background: -moz-linear-gradient(top, #fb6104 0%, #fc8035 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fb6104), color-stop(100%,#fc8035));
    background: -webkit-linear-gradient(top, #fb6104 0%,#fc8035 100%);
    background: -o-linear-gradient(top, #fb6104 0%,#fc8035 100%);
    background: -ms-linear-gradient(top, #fb6104 0%,#fc8035 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fb6104', endColorstr='#fc8035',GradientType=0 );
    background: linear-gradient(top, #fb6104 0%,#fc8035 100%);
}

/* notices etc */

#content h1 {
    border-bottom: 3px solid #A6ADBF;
    color: #A6ADBF;
    font-size: 1.4em;
    letter-spacing: 4px;
    text-transform: none;
}

#content .notice {
    padding-bottom: 4px;
    border-bottom: 2px dotted #eee;
}

.notice div.e-content {
    line-height: 1.2em;
}

.user_in .notice div.e-content {
    max-width: 440px;
}

.e-content a.conversation:before {
	content: " (";
}

.e-content a.conversation:after {
	content: ")";
}

.notice-options .form_repeat.dialogbox {
    margin-right: 0px;
    border: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

.notice-options .form_repeat.dialogbox legend {
    padding-top: 10px;
}

.notice-options .form_repeat.dialogbox input.submit_dialogbox {
    min-width: 80px;
}

.user_in.realtime-popup .notice div.e-content {
    max-width: 320px;
}

.realtime-popup .threaded-replies {
    margin-left: 15px;
}

.realtime-popup .threaded-replies .form_notice textarea {
    width: 385px !important;
}

.realtime-popup .threaded-replies .form_notice label.notice_data-attach {
    top: 10px !important;
    right: 10px !important;
}

.pagination {
    height: 1.2em;
}

.entity_profile {
    float: left;
    width: 360px;
    margin-top: 4px;
}

.entity_profile .entity_depiction {
    margin-top: 4px;
}

.entity_actions {
    width: 140px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.entity_actions a, .entity_actions p, .entity_actions .entity_subscribe input, .entity_actions .entity_block input, .entity_actions .entity_moderation input, .entity_actions .entity_role input, .entity_actions .entity_nudge input, .entity_actions .entity_delete input, .entity_actions input.submit {
   	text-shadow:0 1px 0 rgba(255,255,255,0.4);
    border-radius: 4px;
    background-color: #CDD1DD !important;
}

.entity_moderation:hover ul,
.entity_role:hover ul {
    border-radius: 4px;
}

.entity_send-a-message .form_notice legend {
   	text-shadow:0 1px 0 rgba(255,255,255,0.4);
}

.entity_send-a-message .form_notice {
    border: 1px solid #7B4E82;
}

.entity_send-a-message .form_notice #notice_action-submit {
    color: #fff !important;
    top: 46px;
}

.entity_subscribe .dialogbox, .entity_tag .dialogbox {
    border: 1px solid #aaa;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.4);
}

.entity_subscribe .dialogbox input.submit_dialogbox, .entity_tag .dialogbox input.submit_dialogbox {
    color: #fff !important;
}

#filter_tags_item .submit {
  left: 6px;
  top: -3px;
}

#pagination {
    height: 1.2em;
    padding-bottom: 12px;
    border-radius: 6px;
}

#pagination a {
    color: #3e3e8c;
}

#footer a {
    color: #3e3e8c;
}

#site_nav_global_secondary {
    margin-bottom: 10px;
}

.error, .success, .notice-status {
    border-radius: 6px;
}

.form_notice input.submit, .form_settings input.submit, .form_settings input.cancel, #form_invite input.submit,
.entity_subscribe .dialogbox input.submit_dialogbox,
.entity_tag .dialogbox input.submit_dialogbox,
.form_repeat.dialogbox input.submit_dialogbox
{ /* TODO combine all these declarations */
    height: 1.9em;
    padding: 0px 10px;
    color:#fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 1.2em;
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.2);
    border: 1px solid #d7621c;
    border-radius: 4px;
    background: #FB6104;
    background: -moz-linear-gradient(top, #ff9d63 0%, #fb6104 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff9d63), color-stop(100%,#fb6104));
    background: -webkit-linear-gradient(top, #ff9d63 0%,#fb6104 100%);
    background: -o-linear-gradient(top, #ff9d63 0%,#fb6104 100%);
    background: -ms-linear-gradient(top, #ff9d63 0%,#fb6104 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9d63', endColorstr='#fb6104',GradientType=0 );
    background: linear-gradient(top, #ff9d63 0%,#fb6104 100%);
}

.form_notice input.submit:hover, .form_settings input.submit:hover, .form_settings input.cancel:hover, #form_invite input.submit:hover,
.entity_subscribe .dialogbox input.submit_dialogbox:hover,
.entity_tag .dialogbox input.submit_dialogbox:hover,
.form_repeat.dialogbox input.submit_dialogbox:hover
{
    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.6);
    background: #ff9d63;
    background: -moz-linear-gradient(top, #fb6104 0%, #fc8035 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fb6104), color-stop(100%,#fc8035));
    background: -webkit-linear-gradient(top, #fb6104 0%,#fc8035 100%);
    background: -o-linear-gradient(top, #fb6104 0%,#fc8035 100%);
    background: -ms-linear-gradient(top, #fb6104 0%,#fc8035 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fb6104', endColorstr='#fc8035',GradientType=0 );
    background: linear-gradient(top, #fb6104 0%,#fc8035 100%);
}

.form_settings input#cancel, #form_action-no {
    background: #f2f2f2;
    color: #d7621c;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}

.form_settings input#cancel:hover, #form_action-no:hover {
    background: #fff;
    color: #d7621c;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}

.form_settings fieldset fieldset {
    margin-bottom: 30px;
    padding-top: 25px;
}

#invite #content p {
    margin-bottom: 15px;
}

#invite #content ul {
    list-style-type: none;
    margin-bottom: 25px;
    margin-left: 25px;
}

#invite #content li {
    background: url(../images/resultset_next.png) no-repeat 0px 3px;
    padding-left: 20px;
    margin-bottom: 10px;
}

#invite #content #form_invite ul, #invite #content #form_invite li {
    margin-left: 0px;
    padding-left: 0px;
    background: none;
}

#form_invite input[type=text], #form_invite textarea {
    width: 250px;
    padding: 5px;
    border: 1px solid #a6a6a6;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

#form_invite textarea {
    clear: left;
    width: 508px;
    height: 48px;
}

#form_invite a.add_row, #form_invite a.remove_row {
    display: block;
    height: 16px;
    width: 16px;
    overflow: hidden;
    background-image: url('../../base/images/icons/icons-01.gif');
    background-repeat: no-repeat;
}

#form_invite a.remove_row {
    background-position: 0px -1252px;
    display: inline-block;
    position: relative;
    top: 4px;
    left: 10px;
    line-height: 4em;
}

#form_invite a.add_row {
    clear: both;
    position: relative;
    top: 10px;
    background-position: 0px -1186px;
    width: 120px;
    padding-left: 20px;
    line-height: 1.2em;
}

#form_invite label[for=personal] {
    display: block;
    margin-top: 25px;
}

#content thead th {
text-align:left;
}
#content tbody th {
vertical-align:top;
text-align:left;
font-weight:normal;
padding-top:11px;
padding-right:18px;
}
#content tbody tr {
    border-top: 1px dotted #bbb;
}
#content td {
padding:11px 18px 11px 0;
vertical-align:top;
}
#content td:last-child {
padding-right:0;
}

/* Search */

#form_search {
    padding-bottom: 10px;
    margin-bottom: 20px;
    background: url('../images/brdr_black_dot.png') repeat-x bottom left;
}

#form_search fieldset {
    margin-bottom: 0px;
}

#form_search ul.form_data #q {
    margin-left: 10px;
    width: 210px;
}

#form_search input.submit {
    height: 1.6em;
    line-height: 1.6em;
    font-size: 1.1em;
    padding-bottom: 2px;
    margin-left: 5px;
}

#noticesearch .entity_actions {
    margin: 0px;
}

#noticesearch p.error {
    margin-top: 60px;
}

/* Limited-scope */

.limited-scope .e-content .timestamp {
    padding-left: 20px;
    position: relative;
}

.limited-scope .e-content .timestamp:before {
    content: url(../images/lock.png);
    position: absolute;
    top: -2px;
    left: 0px;
}

.limited-scope li .e-content .timestamp {
    padding-left: 0px;
}

.limited-scope li .e-content .timestamp:before {
    content: none;
}

.limited-scope li.limited-scope .e-content .timestamp {
    padding-left: 20px;
}

.limited-scope li.limited-scope .e-content .timestamp:before {
    content: url(../images/lock.png);
    position: absolute;
    top: -2px;
    left: 0px;
}

/* Blog */

label[for=blog-entry-content] {
    display: none !important;
}

#input_form_blog td {
    padding-top: 0px;
    padding-bottom: 0px;
}

#input_form_blog td.mceToolbar {
    padding-top: 4px;
}

h4.blog-entry-title {
    margin-bottom: 8px;
    line-height: 1.2em;
}

/* Onboard specific styles */
/* TODO move to plugin */

#cboxOverlay{
    background: url(../images/lightbox_bg.png) repeat 0 0 !important;
}

#cboxContent{
    background: #fff url(../logo.png) no-repeat 10px bottom !important;
}

.onboard_iframe {
    background: none;
    padding: 10px;
}

.onboard_iframe #wrap {
    width: auto;
    background: none;
}

.onboard_welcome p {
    margin-bottom: 10px;
}

.onboard_welcome ul {
    list-style-type: none;
    margin-bottom: 10px;
}

.onboard_welcome ul li {
    background: url(../images/resultset_next.png) no-repeat 0px 3px;
    padding-left: 20px;
    margin-left: 10px;
}

#aside_primary #onboard_section {
    background: #f2f2f2;
    width: 196px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #516499;
    background: #fafafa;
}

#onboard_section H2 {
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    position: relative;
    top: -11px;
    left: -11px;
    padding: 2px 0px 2px 10px;
    margin-right: -22px;
    margin-bottom: 5px;
    color: #fff;
    text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.5);
    background: #364A84;
    background: -moz-linear-gradient(top, #516499 0%, #364a84 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#516499), color-stop(100%,#364a84));
    background: -webkit-linear-gradient(top, #516499 0%,#364a84 100%);
    background: -o-linear-gradient(top, #516499 0%,#364a84 100%);
    background: -ms-linear-gradient(top, #516499 0%,#364a84 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#516499', endColorstr='#364a84',GradientType=0 );
    background: linear-gradient(top, #516499 0%,#364a84 100%);
}

#onboard_section ul {
    list-style-type: none;
}

#onboard_section .onboard-step-incomplete {
    background: url(../images/resultset_next.png) no-repeat 0px 1px;
    padding-left: 20px;
    margin-bottom: 10px;
}

#onboard_section .onboard-step-complete {
    background: url(../images/tick.png) no-repeat 0px 1px;
    padding-left: 20px;
    margin-bottom: 10px;
    text-decoration: line-through;
    color: #555;
}

/* Billing specific styles */
/* TODO move to plugin */

#content table.billing_info {
    margin-top: 10px;
    background:rgba(240, 240, 240, 0.4);
}

#content table.billing_info th {
    text-align: right;
    width: 50%;
}

.invalid {
    border: solid 2px red !important;
}

#payment_history table {
    width: 100%;
}

#billingadminpanel .form_settings input {
    margin-right: 0px;
}

/* Directory specific styles */
/* TODO separate base styles and move to plugin */

div#profile_directory div.alpha_nav > a {
    border-left: 1px solid #ccc !important;
    padding-left: 3.5px !important;
    padding-right: 4px !important;
    margin-right: 0px;
    float: left;
    line-height: 1.4em;
}

div#profile_directory div.alpha_nav > a.first {
    border-left: none !important;
}

div#profile_directory div.alpha_nav a.current {
    background-color: #ECECF2 !important;
}

table.profile_list {
    margin-top: 25px;
}

.profile_list th {
    font-size: 0.8em;
}

.profile_list th#created {
    width: 100px;
}

.profile_list th#subscriptions {
    width: 90px;
}

.profile_list th.current {
        background: none !important;
}

.profile_list th.current.reverse {
        background: none !important;
}

.profile_list th.current a {
        padding-right: 25px;
        background: url(../images/bluearrow_down.png) no-repeat top right;
}

.profile_list th.current.reverse a {
        background: url(../images/bluearrow_up.png) no-repeat top right;
}

table.profile_list tr.alt {
    background-color: #fafafa !important;
    border: none !important;
}

td.entity_profile {
    width: auto;
    min-width: 250px;
}

.profile_list .p-name {
    display: block;
    font-size: 1.1em;
    width: auto;
}

.profile_list .nickname, .profile_list .p-name.nickname {
    position: relative;
    top: -8px;
    display: block;
    margin-bottom: -12px;
    font-size: 1.4em;
}

.profile_list .label {
    display: block;
    margin-left: 59px !important;
}

.profile_list .note {
    font-size: 0.88em;
    line-height: 1.36em;
}

.profile_list .entry_created, .profile_list .entry_subscriber_count, .profile_list .entry_notice_count {
    font-size: 0.88em;
}

.profile_list td.entity_actions {
    width: 24px;
    max-width: 24px;
    min-width: 24px;
    height: 20px;
    padding-left: 6px !important;
    position: relative;
    float: none;
    display: table-cell !important;
}

.profile_list .entity_actions ul {
    position: absolute;
    right: 20px;
}

.profile_list .entity_actions input {
    width: 22px;
    height: 22px;
    padding-top: 1px;
    padding-right: 0px;
    padding-left: 20px;
    display: block;
    overflow: hidden;
    font-size: 0em;
    border: 1px solid #CDD1DD;
}

.profile_list .form_group_leave input.submit,
.profile_list .form_user_unsubscribe input.submit {
    background-position: 2px -1250px;
}

.profile_list .form_group_join input.submit,
.profile_list .form_user_subscribe input.submit {
    background-position: 2px -1184px;
}

.profile_list .entity_actions input:hover {
    width: auto;
    padding-right: 10px;
    overflow: visible;
    font-size: 1em;
    line-height: 1.3em;
    border: 1px solid #A6ADBF;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
}

/* SNOD CompanyLogo styling */
/* TODO move to plugin */

#site_nav_local_views a.company_logo {
    width: 138px;
    padding: 0px;
    font-weight: bold;
    text-transform: none;
    line-height: 1em;
    margin-bottom: 20px;
    position: relative;
    top: -4px;
}

#site_nav_local_views a.company_logo:hover {
    background: none;
    color: blue;
    text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
}

.company_logo img {
    max-width: 138px;
    margin-bottom: 4px;
}

.company_logo span {
    display: block;
}

a.company_logo:hover span {
    text-decoration: underline;
}

}/*end of @media screen, projection, tv*/


code:
#common settings that generally should always be used with your language specific settings

# Auto detect text files and perform LF normalization
# http://davidlaing.com/2012/09/19/customise-your-gitattributes-to-become-a-git-ninja/
* text=auto

#
# The above will handle all files NOT found below
#

# Documents
*.doc	 diff=astextplain
*.DOC	 diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot  diff=astextplain
*.DOT  diff=astextplain
*.pdf  diff=astextplain
*.PDF	 diff=astextplain
*.rtf	 diff=astextplain
*.RTF	 diff=astextplain
*.md text
*.adoc text
*.textile text
*.mustache text
*.csv text
*.tab text
*.tsv text
*.sql text

# Graphics
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.tif binary
*.tiff binary
*.ico binary
*.svg binary
*.eps binary

#sources
*.C text
*.cc text
*.cxx text
*.cpp text
*.c++ text
*.c text
*.hpp text
*.h text
*.h++ text
*.hh text

# Compiled Object files
*.slo binary
*.lo binary
*.o binary
*.obj binary

# Precompiled Headers
*.gch binary
*.pch binary

# Compiled Dynamic libraries
*.so binary
*.dylib binary
*.dll binary

# Compiled Static libraries
*.lai binary
*.la binary
*.a binary
*.lib binary

# Executables
*.exe binary
*.out binary
*.app binary

repo_name: dbane/lbl

path: .gitattributes

license: unknown


code:
# Object files
*.o
*.ko

# Libraries
*.lib
*.a

# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib

# Executables
*.exe
*.out
*.app

path: .gitignore


code:
[submodule "SaferCPlusPlus"]
	path = SaferCPlusPlus
	url = https://github.com/duneroadrunner/SaferCPlusPlus.git

path: .gitmodules


code:
This is a distribution of a preprocessor, lbl, for nroff and its
kindred.  Lbl allows you to give symbolic labels to objects in a text
file which belong in numbered sequences (e.g.  chapters, figures,
tables, equations) and to refer to them by name; sequence numbers are
assigned automatically.  Hence, it is unnecessary to adjust all
cross-references every time that a new item is inserted into the middle
of a sequence.

Multi-level sequences are supported (similar to the multi-level section
numbers in many macro packages); the user has control over the format
of each level of sequence numbers (roman, arabic, letters).  Many
independent sequences may be used simultaneously, limited only by the
memory available to the program; the same name may be used for items in
several sequences.

The program was written by Chris Miller at Heriot-Watt University,
Edinburgh.  Please report bugs, portability problems or ideas for
improvements to chris@hwcs.uucp ( ....!mcvax!ukc!kcl-cs!hwcs!chris if
you need to be more explicit in your mail path).

As indicated in the attached NOTICE, you are free to pass this to
anyone else; it contains NO code restricted under proprietary
agreements.  If you make alterations, please (a) inform the author and
(b) mark the emendations to the original distribution clearly
(preferably through conditional compilation) -- I desire neither praise
for your brilliance nor scorn for your incompetence!

path: Introduction


code:
.POSIX:
# (C) C.D.F.Miller, Heriot-Watt University, March 1984

SUBDIR= src

.include <bsd.subdir.mk>

path: Makefile


code:
NOTICE:

The software and documentation contained within this directory and
all its subdirectories is copyright (C) C.D.F. Miller, 1984, 1985.

Permission is hereby given for its free reproduction and modification
for non-commercial purposes, provided that this notice and all embedded
copyright notices be retained.  Commercial organisations may give away
copies as part of their systems provided that they do so without charge,
and that they acknowledge the source of the software.

				C.D.F. Miller
				Department of Computer Science
				Heriot-Watt University
				79 Grassmarket
				Edinburgh
				Scotland

path: NOTICE


code:
doc	contains manual page and more extensive guide
hdr	contains header files
src	contains the C source code


code:
lbl
===

Preprocess symbolic labels for troff(1) text


code:
style=stroustrup
break-closing-braces
attach-closing-while
indent=tab=5

path: astylerc


code:
# lbl

*Lbl* preprocesses symbolic labels for troff(1) text. I like it for
technical documentation, in conjunction with
[groff](http://groff.ffii.org/) and
[prag](http://www.kohala.com/start/troff/prag-1.0pl2.shar).

*Lbl* is copyright C.D.F. Miller of Heriot-Watt University, see
"NOTICE" for details. I am merely updating it slightly to compile
with modern C11 compilers.


code:
.POSIX:
LBL= lbl
NROFF= nroff

# Commands run by bsdmake don't seem to have a controlling tty. At
# least, "most" doesn't paginate. So user must run $PAGER themselves
# outside bsdmake.

.PHONY: doc
doc:	lbl.ms
	$(LBL) lbl.ms | $(NROFF) -ms

.PHONY: man
man:	../src/lbl.1
	$(NROFF) -man ../src/lbl.1

.PHONY: example
example:	example.n
	lbl example.n | $(NROFF) -ms

path: doc/Makefile


code:
The files in this directory are:

lbl.1	Manual page, to be installed in /usr/man/man1 or wherever
	else you keep the pages for contributed user programs.

lbl	Longer manual; possibly to be installed in /usr/doc.  This
	uses the "ms" macro package, which is still probably the
	most widely available.  The command to generate the formatted
	manual is
		lbl lbl | nroff -ms

example.n
	A short example of the use of lbl.  This example is also
	embedded within the manual in a different guise.

Makefile
	A very trivial Makefile for the documentation


code:
.\" (C) C.D.F. Miller, Heriot-Watt University, March 1984
.\"
.\"	We use '.L= sec' to generate the numbered headings
.de L=
.if '\\$1'sec' .NH \\$2
..
.ND
.TL
Example of LBL
.L= sec 1 intro
Introduction
.L= table 1 *
.PP
We begin with a small table (Table @table opening@).
.DS C
Table @table opening@ about here
.DE
and consider things in more detail in Section @sec cont@.
.L= table 2 opening
.L= sec 1 cont
Continuation
.L= table 1 *
.PP
In this continuation we refer back to Section @sec intro@, which contained
Table @table opening@, and presnt more detailed information in Table
@table detail@.
.DS
Table @table detail@ about here.
.DE
.L= table 2 detail
.L= sec 2 subcont
Sub-continuation
.PP
In which we further refine things, as shown in Table @table mega-detail@ below.
.DS
Table @table mega-detail@ about here.
.DE
.L= table 2 mega-detail


code:
          LBL - Symbolic Labels in Text Documents

1.  Introduction

     _l_b_l is a pre-processor for _t_r_o_f_f and _n_r_o_f_f which allows
Sections,  Figures,  Tables,  etc.,  to  be  referred  to by
symbolic names rather than  by  absolute  number.   It  will
handle forward references as well as backward ones.

     Uses of  a  label  in  the  text  are  indicated  by  a
delimiter  character (default '@', but resettable), followed
by a _t_y_p_e name (e.g. "TABLE", "EQN", etc.), followed by  the
label itself (e.g. "Profits-1983").  Each such occurrence is
replaced  by  a  reference  number;  the  default  style  of
numbering  is  a sequence of period-separated arabic numbers
(e.g. 2.4.1)  but  this  is  resettable.   Finally,  another
delimiter is required to close the reference (cf. the use of
delimiters in _e_q_n for in-line equations).

Examples:

        For full details refer to Table @TABLE Profits-1983@.
        As we saw in Chapter @chap intro@, ...
        Figure @fig wing-profile@ shows the airflow patterns ...

     Labels may be defined at any point in  the  text.   The
definition looks like a _t_r_o_f_f macro, and the definition line
is retained in the original text.   By  default,  the  macro
used  is  ".L=",  but  this can be reset.  The macro takes 3
arguments: a type-name, a level-number, and a label-name.

     The type-name corresponds to  that  used  to  signal  a
label  occurrence  in  the text.  There is no restriction on
the choice of name; any sequence of non-blank characters may
be used.  Upper- and lower-case letters _a_r_e distinguished.

     The  level-number  corresponds  to   the   header-level
numbers  used  by  the .NH macro in _m_s, the .sh macro in _m_e,
etc.  The index at the given level is incremented by 1,  and
all higher indexes set to 0.  Initially, all indexes are set
to 0 by default, but other starting values  may  be  chosen.
There is an implementation-defined restriction on the number
of levels of index (currently 20);  it  is  not  anticipated
that this will lead to problems.

     The label may be any sequence of non-blank  characters;

                           - 2 -

the   same  label  may  be  used  in  more  than  one  type.
Furthermore, the special label-name ``*''  can  be  used  to
increment  the  appropriate level-counter without defining a
label at all; this is useful, for example, when all  tables,
figures,  etc.,  in  a section take their initial index from
the section number: two ways of doing this would be:

a.
    .L= section 1 this-section
    .L= last table 0
    .L= last figure 0
    ...
    ... refer to table @section this-section@.@table profits@ ...
    ... see figure @section this-section@.@figure structure@ ...
    ...
    .L= table 1 profits
    ...
    .L= figure 1 structure
    ...

(see section 3 for the use of
``.L= last ...'')

b.
    .L= section 1 this-section
    .L= table 1 *
    .L= figure 1 *
    ...
    ... refer to table @table profits@ ...
    ... see figure @figure structure@ ...
    ...
    .L= table 2 profits
    ...
    .L= figure 2 structure
    ...

It is largely a matter of taste which technique is used; the
former  is more long-winded, but avoids the need to remember
to keep the tables  and  figures  in  step  every  time  the
section is updated.  Yet a third possibility (similar to the
first) would be:

c.
    .L= section 1 this-section
    .ds Sc "@section this-section@
    .L= last table 0
    ...
    ... refer to table .@table profits@
    etc.

making use of the string-definition facility within _n_r_o_f_f.

     It is important to be  aware  that  all  processing  on
labels  is done before _t_r_o_f_f processes the text; attempts to

                           - 3 -

build label-references by  using  macros  or  _t_r_o_f_f  strings
registers will almost certainly not work as expected.

2.  Command Line Options

     Options to _l_b_l are set in the command line,  which  has
the form

        lbl [ -d_d_e_l_i_m ] [ -m_m_a_c_r_o ] [ -l ] [ -s ]

-d   _d_e_l_i_m  is  the  character  used  to   delimit   in-line
     occurrences of label references (default ``@'');

-m   _m_a_c_r_o is the 2-character name of a  _t_r_o_f_f  macro  which
     introduces label definitions, etc. (default ``L='');

-l   causes a listing of label-definitions to be written  to
     the  standard error stream.  Each label-type is listed,
     together with its print format, followed by a line  for
     each  label  of that type, showing label-name, file and
     line where it is defined, and value;

-s   causes the generation of the _t_r_o_f_f  input  file  to  be
     suppressed; setting -_s automatically also sets -_l.

3.  Control directives

     In addition to defining labels, the .L= macro  (or  its
substitute)  can  be used for several other purposes.  These
are all indicated by commands of the form

        .L= _c_o_m_m_a_n_d _a_r_g_u_m_e_n_t ...

where the _c_o_m_m_a_n_ds are reserved words which may not be  used
as  type-names.   These  commands  allow  control  over  the
initialisation of label values, the print format of  labels,
and thelabel reference delimiter.

.L= delimiter off
     turns off interpretation  of  the  delimiter  character
     altogether;  subsequent  text is copied literally until
     another _d_e_l_i_m_i_t_e_r command is encountered;

.L= delimiter _c_h_a_r_a_c_t_e_r
     resets the delimiter in subsequent text  to  the  given
     character;

.L= format _t_y_p_e_n_a_m_e _s_t_r_i_n_g
     sets the print format for labels of the  given  type  -
     see section 3.1;

.L= last _t_y_p_e_n_a_m_e _c_o_u_n_t_1 _c_o_u_n_t_2 ...
     resets the counters for _t_y_p_e_n_a_m_e  as  though  the  last

                           - 4 -

     label  generated  had  been  _c_o_u_n_t_1._c_o_u_n_t_2... (with all
     omitted counts taken as 0).

3.1.  Print formats

     The default print format for a label is as  a  sequence
of  period-separated  arabic  numerals.  However, it is also
possible  to  specify  alphabetic  or  roman  labels,  or  a
mixture,  and  to have separators other than a period.  This
is governed by the format given in a ``.LE format'' command.

     Such a format contains escape sequences (flagged  by  a
``%'' character) and literal text.  The text is copied until
an escape  sequence  is  encountered;  such  a  sequence  is
replaced by the index for the next level of the label value,
printed in one of the following formats:

%1   Arabic  numerals   (without   non-significant   leading
     zeros);

%0   As %1, but offset by 1 so that the first value  printed
     will be 0 rather than 1;

%a   Lower-case alphabetics, starting  at  ``a'';  ``z''  is
     followed by ``aa'', etc.;

%A   Upper-case alphabetics;

%i   Lower-case roman numerals (with some  odd  choices  for
     large  numbers,  consistent  with  the  roman  numerals
     printed by _t_r_o_f_f).

%I   Upper-case roman numerals.

A ``%'' followed  by  any  other  character  (in  particular
another ``%'') prints as that character.

4.  Limits

     _L_b_l imposes  no  limit  on  the  size  of  text  to  be
processed,  but  (like  _r_e_f_e_r)  needs  to act on a text as a
whole, rather than processing individual files.   The  limit
on  the  number  of  levels of header is unlikely to prove a
problem.  The number of labels which may be used is  limited
only by the amount of memory available to a process; even on
a small machine it is possible to handle a few hundred label
definitions.

5.  Further Examples

     The copying of the definition macros makes it  possible
to use them as _t_r_o_f_f macros, as in the following example:

                           - 5 -

        .de L=
        .ie '\\$1'sec' .NH \\$2
        .el .ie '\\$1'table' .if !'\\$3'*' \{
        .DS C
        Table '\\$3' about here
        .DE
        \}
        .el .if '\\$1'fig' .if !'\\$3'*' \{
        .DS C
        Figure '\\$3' about here
        .DE
        \}
        ..
        .nr LL 5i
        .ND
        .TL
        Example of LBL
        .L= sec 1 intro
        Introduction
        .L= table 1 *
        .PP
        We begin with a small table (Table @table opening@).
        .L= table 2 opening
        and consider things in more detail in Section
        @sec cont@.
        .L= sec 1 cont
        Continuation
        .L= table 1 *
        .PP
        In this continuation we refer back to Section
        @sec intro@, which contained
        Table @table opening@, and present more detailed
        information in Table
        @table detail@.
        .L= table 2 detail
        .L= sec 2 subcont
        Sub-continuation
        .PP
        In which we further refine things, as shown in
        Table @table mega-detail@ below.
        .L= table 2 mega-detail

In the above, the ``.L= sec'' macros automatically  generate
the numbered headings by expanding to the _m_s ``.NH'' macros,
while the  ``table''  definitions  cause  the  insertion  of
figures such as

                 Table 'detail' about here

The above example thus produces the following:

                           - 6 -

                          Example of LBL

        _1.  _I_n_t_r_o_d_u_c_t_i_o_n

             We begin with a small table (Table 1.1).

                    Table 'opening' about here

         and consider things in more detail in Section 2.

        _2.  _C_o_n_t_i_n_u_a_t_i_o_n

             In this continuation we refer back to Section
        1,  which  contained  Table  1.1, and present more
        detailed information in Table 2.1.

                    Table 'detail' about here

        _2._1.  _S_u_b-_c_o_n_t_i_n_u_a_t_i_o_n

             In which we further refine things,  as  shown
        in Table 2.2 below.

                  Table 'mega-detail' about here

     The alphabetic formats may be useful for such things as
appendices, e.g.

        .L= format appendix %A
        .L= appendix 1 trade-marks
        .SH
        Appendix @appendix trade-marks@:
        List of Registered Trade Marks
        .LP
        (For the addresses of the proprietors see
        @appendix props@).
          ...
        .L= appendix 1 props

which will generate

                           - 7 -

        _A_p_p_e_n_d_i_x _A: _L_i_s_t _o_f _R_e_g_i_s_t_e_r_e_d _T_r_a_d_e _M_a_r_k_s

        (For the addresses of the proprietors see appendix B).

echo shar: "274 control characters may be missing from 'lbl.doc'"