mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-21 18:15:24 +00:00
337 lines
4.6 KiB
CSS
337 lines
4.6 KiB
CSS
/* general */
|
|
|
|
@media (min-width: 300px) and (max-width: 750px) {
|
|
body {
|
|
padding: 0;
|
|
margin: 0;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 751px) {
|
|
body {
|
|
width: 85%;
|
|
margin: 8px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
}
|
|
|
|
body {
|
|
font-family: sans-serif;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
text-decoration: none;
|
|
color: green;
|
|
}
|
|
|
|
a:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
pre {
|
|
white-space: pre-line;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 125%;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* header */
|
|
|
|
#ob-header {
|
|
background-color: #65cb25;
|
|
height: 26px;
|
|
padding: 2px;
|
|
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
|
|
img.logo {
|
|
background-color: white;
|
|
padding: 2px;
|
|
border: 2px solid green;
|
|
height: 18px;
|
|
}
|
|
|
|
.links {
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
@media only screen and (max-width: 576px){
|
|
.oddbean-name {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.sitename {
|
|
color: black;
|
|
}
|
|
|
|
.oddbean-name {
|
|
font-weight: bold;
|
|
margin-left: 5px;
|
|
}
|
|
|
|
.new-post-link {
|
|
margin-left: 20px;
|
|
}
|
|
|
|
.about {
|
|
margin-left: 20px;
|
|
}
|
|
}
|
|
|
|
.login {
|
|
margin-left: 20px;
|
|
margin-right: 5px;
|
|
}
|
|
|
|
.no-js {
|
|
color: red;
|
|
}
|
|
|
|
a:link, a:visited {
|
|
color: black;
|
|
}
|
|
|
|
.logout-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
#ob-page {
|
|
padding: 10px 10px 10px 10px;
|
|
background-color: #f6f6ef;
|
|
}
|
|
|
|
#ob-footer {
|
|
margin-top: 30px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #65cb25;
|
|
text-align: center;
|
|
}
|
|
|
|
|
|
table {
|
|
width: 100%;
|
|
|
|
th {
|
|
color: white;
|
|
background-color: black;
|
|
}
|
|
|
|
tr:nth-child(odd) {
|
|
background-color: #fefefe;
|
|
}
|
|
|
|
tr:nth-child(even) {
|
|
background-color: #f6f6ef;
|
|
}
|
|
|
|
td,th {
|
|
padding: 8px 5px 8px 5px;
|
|
}
|
|
|
|
td {
|
|
line-break: anywhere;
|
|
}
|
|
}
|
|
|
|
table.horiz {
|
|
tr td:nth-child(1) {
|
|
text-align: right;
|
|
padding-right: 20px;
|
|
}
|
|
|
|
tr td:nth-child(2) {
|
|
padding-left: 15px;
|
|
}
|
|
}
|
|
|
|
table.vert {
|
|
tr td:nth-child(1) {
|
|
text-align: center;
|
|
}
|
|
|
|
/*
|
|
tr td:nth-child(2) {
|
|
padding-left: 15px;
|
|
}
|
|
*/
|
|
}
|
|
|
|
.user-metadata {
|
|
.user-links {
|
|
margin-top: 10px;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-evenly;
|
|
|
|
> a {
|
|
margin: 3px;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/* user comments */
|
|
|
|
.user-comments {
|
|
.note-thread {
|
|
margin-bottom: 30px;
|
|
border-bottom: 1px solid black;
|
|
}
|
|
|
|
.more-notes {
|
|
margin-left: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
}
|
|
|
|
|
|
/* event */
|
|
|
|
.event {
|
|
margin-bottom: 20px;
|
|
overflow-x: clip;
|
|
|
|
.event-present {
|
|
display: flex;
|
|
flex-direction: row;
|
|
}
|
|
|
|
.event-not-present {
|
|
color: red;
|
|
}
|
|
|
|
.header {
|
|
}
|
|
|
|
.highlight {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.abbrev {
|
|
}
|
|
|
|
.content {
|
|
padding-left: 25px;
|
|
}
|
|
}
|
|
|
|
.event-root {
|
|
.replies {
|
|
margin-top: 20px;
|
|
padding-left: 20px;
|
|
border-left: 1px dotted black;
|
|
}
|
|
}
|
|
|
|
|
|
/* new post */
|
|
|
|
.new-post {
|
|
.submit-button {
|
|
margin-top: 20px;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.result-message {
|
|
color: red;
|
|
text-weight: bold;
|
|
}
|
|
|
|
#post-text {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
|
|
/* feeds */
|
|
|
|
.feed-item {
|
|
margin-bottom: 8px;
|
|
overflow: hidden;
|
|
|
|
display: flex;
|
|
flex-direction: row;
|
|
|
|
.left {
|
|
padding-right: 5px;
|
|
color: #828282;
|
|
}
|
|
|
|
.summary > a:link, .summary > a:visited {
|
|
text-decoration: none;
|
|
color: black;
|
|
}
|
|
|
|
.info {
|
|
padding-top: 5px;
|
|
font-size: 75%;
|
|
color: #828282;
|
|
}
|
|
}
|
|
|
|
.feed-nav-links {
|
|
margin-top: 20px;
|
|
margin-left: 40px;
|
|
}
|
|
|
|
.feed-info {
|
|
.feed-id {
|
|
background-color: #dfdfdf;
|
|
font-family: monospace;
|
|
font-size: 90%;
|
|
display: inline;
|
|
padding: 5px;
|
|
}
|
|
|
|
.feed-description {
|
|
padding-left: 20px;
|
|
border-left: 2px solid blue;
|
|
white-space: pre;
|
|
}
|
|
}
|
|
|
|
|
|
/* voting */
|
|
|
|
.vote-buttons {
|
|
padding-right: 5px;
|
|
color: #828282;
|
|
font-size: 16px;
|
|
justify-content: flex-start;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
> span {
|
|
margin-bottom: 2px;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
.info-page {
|
|
line-height: 1.2;
|
|
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
|
|
p {
|
|
margin-top: 15px;
|
|
margin-bottom: 15px;
|
|
}
|
|
|
|
b {
|
|
font-weight: bold;
|
|
}
|
|
}
|