This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
glasnost/glasnost-web/css/default.css

317 lines
4.5 KiB
CSS

/* part of glasnost UI -- may be overrided by templates CSS
*
* note: everything is not defined here, sometimes defaults
* are sane.
*
* For a complete list of glasnost CSS classes, please read:
* http://glasnost.entrouvert.org/articles/25
*/
@import url(balloonHelp.css);
div.alert {
font-weight: bold;
font-size: 120%;
/*border: 2px solid red;*/
}
/*** buttons ***/
a.button, input.button {
background-color: white;
border: 1px solid black;
color: black;
font-family: sans-serif;
font-size: 80%;
font-weight: bold;
margin: 0px;
padding-bottom: 2px;
padding-left: 5px;
padding-right: 5px;
padding-top: 2px;
text-align: center;
text-decoration: none;
}
a.button:hover,
input.button:hover {
background: #e0e0e0; /* light grey */
color: black;
}
input {
/* padding-left: 3px; */
border: 1px solid black;
}
input.button {
/* hide rest from IE5 and IE5.5 */
voice-family: "\"}\"";
voice-family: inherit;
padding-top: 2px;
padding-bottom: 2px;
}
input.button:hover {
background: #e0e0e0; /* light grey */
}
hr {
clear: both;
}
pre.diff {
width: 95%;
}
span.diff-new {
background-color: #8f8;
}
span.diff-old {
background-color: #f88;
}
/*** fields ***/
a.online-help {
display: block;
}
/*** Spip ***/
a.spip-note, a.footnote-reference, a.fn-backref {
font-size: 80%;
position: relative;
top: -2px;
}
div.spip-notes, div.footnotes {
margin-top: 2em;
padding-top: 1.5em;
border-top: 1px dashed black;
border-bottom: 1px dashed black;
font-size: 80%;
}
table {
border: 1px solid black;
border-collapse: collapse;
}
table th {
text-align: center;
}
table td {
border: 1px solid black;
padding-left: 5px;
padding-right: 5px;
text-align: left;
vertical-align: middle;
}
div.preview {
margin: 1em;
padding: 1em;
border: 2px inset black;
font-size: 80%;
}
div.preview h2 {
margin: 0;
border-bottom: 1px solid black;
}
div.election-results {
text-align: center;
}
div.election-results table {
margin-left: auto;
margin-right: auto;
margin-bottom: 1em;
}
table.election-details,
table.election-votes,
table.election-pairwise-matrix,
table.election-ratings {
border: 1px solid black;
border-collapse: collapse;
}
table.election-details td,
table.election-votes td,
table.election-pairwise-matrix td,
table.election-ratings td {
border: 1px solid black;
color: black;
text-align: center;
}
table.election-details th,
table.election-votes th,
table.election-pairwise-matrix th,
table.election-ratings th {
padding-left: 1em;
padding-right: 1em;
font-weight: bold;
border: 1px solid black;
text-align: center;
}
table.election-details caption,
table.election-votes caption,
table.election-pairwise-matrix caption,
table.election-ratings caption,
table.election-results caption {
display: none;
}
table.election-results th {
text-align: right;
padding-left: 1em;
padding-right: 1em;
font-weight: bold;
}
table.election-results td {
text-align: center;
}
th.owned-vote {
background-color: #e0e0e0;
}
p#powered-by-glasnost {
position: fixed;
margin: 0;
padding: 0;
bottom: 0px;
right: 0px;
z-index: 2;
}
p#powered-by-glasnost a {
background: white;
border: 1px solid black;
text-decoration: none;
color: black;
font-size: 75%;
padding-right: 5px;
padding-left: 5px;
}
.error-message {
color: red;
display: block;
}
div.clear {
clear: both;
}
div.buttons-bar {
padding-top: 1em;
clear: both;
}
div.buttons-bar input,
div.buttons-bar a {
margin-right: 0.5em;
}
div.comment-block {
margin-left: 2em;
margin-top: 6px;
}
div.comment-block h3 {
margin: 0;
}
div.comment-block span.comment-author {
font-size: 80%;
}
div.comment-block div.comment {
margin: 0;
margin-top: 4px;
}
div.comment-block a {
font-size: 80%;
}
span.spellcheck {
cursor: help;
border-bottom: 1px dashed red;
}
div.comments {
margin-left: 2em;
margin-top: 2em;
}
div.comment {
border-left: 1px solid black;
padding-left: 1em;
margin-bottom: 1em;
}
div.comment h4 {
margin: 0;
padding: 0;
font-size: 110%;
border-bottom: 1px solid black;
}
div.comment .comment-infos {
float: right;
padding: 0px 5px;
margin-left: 5px;
margin-bottom: 5px;
border: 1px solid black;
border-top: none;
font-size: 80%;
text-align: right;
}
div.comment .comment-author,
div.comment .comment-time {
display: block;
}
h2, h3, h4, h5, h6 {
clear: both;
}
span.comment-no {
display: none;
}
ul.article-meta {
list-style: none;
}
table.diff {
width: 95%;
}
table.diff td {
width: 45%;
border: 1px solid black;
vertical-align: top;
}
div.formHelp {
font-size: 80%;
color: gray;
}