rocksolid-light/Rocksolid_Light/common/style-frames.css

626 lines
11 KiB
CSS

@import "style-colors.css";
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.page {
display: flex;
flex-wrap: wrap;
width: 100%;
height: 100%;
}
.section {
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.menu {
border: none;
border-spacing: 0px;
margin: 0px;
padding: 0px
background-color: var(--color-dark);
}
.header {
border: none;
border-spacing: 0px;
width: 100%;
height: 8%;
margin: 0px;
padding: 0px;
background-color: var(--color-light);
}
.title {
font-size: 2em;
text-decoration: none;
color: var(--color-title);
}
.title_small {
font-size: 0em;
text-decoration: none;
color: var(--color-title);
}
.header_menu {
font-size: 1em;
text-decoration: none;
color: var(--color-title);
}
.content {
background-color: var(--color-light);
}
.responsive_image {
width: 100%;
max-width: 80%;
height: auto;
}
/* Title */
.np_title {
text-decoration: none;
color: var(--color-title);
font-size: 1.5em;
}
/* Header frame */
.np_frame_header {
width: 100%;
border: none;
border-spacing: 0px;
margin: 0px;
padding: 0px;
background: var(--color-dark);
}
/* Menu frame */
.np_frame_menu {
border: none;
border-spacing: 0px;
margin: 0px;
padding: 2px;
background: var(--color-dark);
}
/* Content frame */
.np_frame_content {
border: none;
border-spacing: 0px;
margin: 0px;
padding: 2px;
background: var(--color-dark);
}
/* Header table */
.header_table {
border: none;
padding: 2px;
background: var(--color-dark);
}
.np_button_hidden {
padding-left: 5px;
padding-right: 5px;
border: 1px solid var(--color-title);
color: var(--color-text-alt);
white-space: nowrap;
font-family: Arial, Helvetica, sans-serif;
background: var(--color-dark);
border-radius: 5px;
}
/* Header buttons */
.np_header_button_link {
padding-left: 5px;
padding-right: 5px;
border: none;
color: var(--color-text-alt);
white-space: nowrap;
font-family: Arial, Helvetica, sans-serif;
background: var(--color-dark);
border-radius: 5px;
font-size: 1.8em;
}
.np_header_button_link:hover {
color: var(--color-dark);
background: var(--color-text-alt);
}
.np_header_bar_large {
background: var(--color-dark);
padding: 1px;
margin-bottom: 1px;
color: black;
font-size: 0.6em;
}
.np_header_bar_small {
background: var(--color-dark);
padding: 1px;
margin-bottom: 1px;
color: black;
font-size: 0.6em;
}
div.ellipsis {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
/* Mobile Styles */
@media only screen and (max-device-width: 480px) {
body {
color: var(--color-title);
background: var(--color-bg-alt);
font-family: Arial, Helvetica, sans-serif;
font-size: calc(1em + 2vw);
}
.header {
margin: 5px;
height: 10%;
}
.menu {
margin: 0px;
width: 0%;
height: 0%
}
.content {
margin: 10px;
width: 100%;
height: 89%;
}
.title {
font-size: 0em;
}
.title_small {
font-size: 1.2em;
}
.header_menu {
font-size: 0.7em;
}
.np_header_button_link {
font-size: 1.2em;
}
.np_header_bar_large {
display: none;
}
}
/* Tablet Styles */
@media only screen and (min-device-width: 481px) and (max-device-width: 820px) {
body {
color: var(--color-title);
background: var(--color-bg-alt);
font-family: Arial, Helvetica, sans-serif;
font-size: calc(1em + 1vw);
}
.header {
margin: 5px;
height: 10%;
}
.menu {
margin: 0px;
width: 0%;
height: 0%
}
.content {
margin: 10px;
width: 100%;
height: 89%;
}
.title {
font-size: 1.2em;
}
.header_menu {
font-size: 0.8em;
}
.np_header_button_link {
font-size: 1.5em;
}
.np_header_bar_large {
display: none;
}
}
/* Desktop Styles */
@media only screen and (min-device-width: 821px) {
body {
color: var(--color-title);
background: var(--color-bg-alt);
font-family: Arial, Helvetica, sans-serif;
font-size: calc(1em + 1vw);
}
.header {
margin: 0px;
height: 8%;
}
.menu {
width: 20%;
height: 92%
}
.content {
width: 80%;
height: 92%;
}
.title {
font-size: 1.5em;
}
.header_menu {
font-size: 0.8em;
}
.np_button_hidden {
padding-left: 0px;
padding-right: 0px;
border: none;
color: transparent;
font-size: 0em;
}
.np_header_bar_small {
display: none;
}
}
/* =========== Index Layout ============== */
/* headline */
h1.np_index_headline {
font-size: 0.8em;
}
/* border around all groups */
.np_index_groups {
/* background: #eeeeee; */
background: var(--color-dark);
padding: 0px;
border: solid 1px #26598f;
}
/* a block of groups */
.np_index_groupblock {
margin-bottom: 20px;
background: var(--color-dark);
}
/* headline of a group of blocks */
.np_index_grouphead {
border: solid 1px #26598f;
/* background: #26598f; */
background: var(--color-dark);
color: var(--color-title);
font-size: 0.7em;
font-style: italic;
}
/* a single group */
.np_index_group {
margin-left: 10px;
margin-bottom: 5px;
font-size: 0.8em;
}
/* =========== Thread Layout ============== */
/* Headline */
h1.np_thread_headline {
font-size: 0.8em;
}
/* Table around the thread */
table.np_thread_table {
width: 100%;
table-layout: fixed;
border: solid 1px #26598f;
border-spacing: 0px;
margin: 0px;
padding: 0px;
font-size: 0.5em;
}
/* Head of the table */
tr.np_thread_head,td.np_thread_head {
color: var(--color-text-alt);
background: var(--color-light);
margin: 0px;
}
/* Even line numbers in the thread */
tr.np_thread_line1,td.np_thread_line1 {
padding-left: 3px;
padding-top: 6px;
padding-right: 0px;
padding-bottom: 6px;
background: var(--color-dark);
border: 1px solid #828282;
margin: 0px;
}
/* Odd line numbers in the thread */
tr.np_thread_line2,td.np_thread_line2 {
padding-left: 3px;
padding-top: 6px;
padding-right: 0px;
padding-bottom: 6px;
background: var(--color-light);
border: 1px solid #828282;
margin: 0px;
}
/* Text inside a Line */
span.np_thread_line_text {
font-size: 1em;
font-weight: bold;
font-family: Arial, Helvetica, sans-serif;
}
/* The small images, a thread consists of */
img.thread_image {
vertical-align: bottom;
}
/* =========== Article Layout ============= */
/* headline */
h1.np_article_headline {
font-size: 0.6em;
}
/* Head of an article */
div.np_article_header {
background: var(--color-dark);
padding: 3px;
border: solid 1px #26598f;
font-size: 0.55em;
}
/* Layout of the Text-Body */
div.np_article_body {
background: var(--color-light);
margin-top: 20px;
/* font-family: "Lucida Console", "Courier New", Courier, "Andale Mono", monospace; */
font-size: 0.55em;
}
/* Layout of the Text-Body for Synchronet (to display ASCII art etc.*/
div.np_article_body_synch {
background: var(--color-light);
margin-top: 20px;
font-family: "Lucida Console", "Courier New", Courier, "Andale Mono", monospace;
font-size: 0.55em;
}
/* Layout of quoted text / graphic layout */
blockquote.np_article_quote {
border-left: #002255 solid 1px;
padding-left: 5px;
color: var(--color-text-quote);
margin: 0px;
}
/* =========== Post layout =========== */
/* headline */
h1.np_post_headline {
font-size: 1em;
}
/* Head with the input fields for subject, name and email */
.np_post_header {
background: var(--color-dark);
padding: 3px;
border: solid 1px #26598f;
}
/* Body with the message-field and the post-button in it */
.np_post_body {
background: var(--color-light);
padding: 3px;
border: solid 1px #26598f;
margin-top: 10px;
}
/* =========== specifically for rocksolid overboard =========== */
/* results table */
table.np_results_table {
width: 100%;
table-layout: fixed;
border: solid 1px #26598f;
border-spacing: 0px;
margin: 0px;
padding: 0px;
font-size: 0.5em;
}
/* posted_date */
.np_ob_posted_date {
margin-top: 0;
margin-bottom: 0;
text-decoration: none;
color: var(--color-ob-date);
text-align: left
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
}
/* header */
.np_ob_header {
margin-top: 0;
margin-bottom: 15;
margin-left: 20%;
text-decoration: none;
color: var(--color-ob-title);
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
font-style: italic;
}
.np_ob_group {
margin-top: 0;
margin-bottom: 0;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 0.8em;
}
.np_ob_body {
margin-top: 0;
margin-bottom: 0;
text-decoration: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 1em;
}
.np_ob_subject {
margin-top: 0;
margin-bottom: 0;
text-decoration: none;
font-family: Helvetica, Arial, sans-serif;
font-size: 1.1em;
}
/* Even line numbers in the thread */
.np_result_line1 {
padding-left: 3px;
padding-top: 6px;
padding-right: 0px;
padding-bottom: 6px;
background: var(--color-dark);
border: 1px solid var(--color-text-alt);
margin: 0px;
}
/* Odd line numbers in the thread */
.np_result_line2 {
padding-left: 3px;
padding-top: 6px;
padding-right: 0px;
padding-bottom: 6px;
background: var(--color-light);
border: 1px solid var(--color-text-alt);
margin: 0px;
}
.np_ob_tail {
font-size: 0.7em;
}
/* =========== navigation buttons on top of every page =========== */
.np_buttonbar {
background: var(--color-dark);
padding: 1px;
margin-bottom: 1px;
color: black;
font-size: 0.6em;
}
.np_button_link {
padding-left: 5px;
padding-right: 5px;
border: none;
color: var(--color-text-alt);
white-space: nowrap;
font-family: Arial, Helvetica, sans-serif;
background: var(--color-dark);
border-radius: 5px;
font-size: 1em;
}
.np_button_link:hover {
color: var(--color-dark);
background: var(--color-text-alt);
}
td.np_button {
padding-left: 5px;
padding-right: 5px;
border-right: solid white 1px;
color: white;
white-space: nowrap;
font-family: Arial, Helvetica, sans-serif;
}
a.np_button {
color: white;
text-decoration: underline;
}
.np_pages {
color: var(--color-visited);
}
.np_pages_selected {
color: var(--color-title) !important;
text-weight: bold;
margin-left: 5px;
}
.np_pages_unselected {
color: white;
text-decoration: underline;
margin-left: 5px;
}
input, textarea {
background-color: var(--color-medium);
border: none;
color: var(--color-title);
}
input[type=submit] {
padding:5px;
border:1px solid var(--color-title);
-webkit-border-radius: 5px;
border-radius: 5px;
}
input[type=submit]:hover {
color: var(--color-medium);
background: var(--color-title);
}
input[type=button] {
padding:5px;
border:1px solid var(--color-title);
-webkit-border-radius: 5px;
border-radius: 5px;
}
input[type=button]:hover {
color: var(--color-medium);
background: var(--color-title);
}
a:link {
text-decoration: none;
color: var(--color-link);
font-size: inherit;
}
a:visited {
text-decoration: none;
color: var(--color-visited);
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: underline;
}