initial testing with mock feed

This commit is contained in:
plebbitor
2023-02-07 13:23:14 +01:00
parent fb39ef5bc5
commit 0969cf9bb8
14 changed files with 88 additions and 65 deletions
-248
View File
@@ -1,248 +0,0 @@
import styled from 'styled-components';
export const Container = styled.div`
color: maroon;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
margin-left: 0;
margin-right: 0;
margin-top: 5px;
padding-left: 5px;
padding-right: 5px;
`;
export const NavBar = styled.div`
font-size: 9pt;
color: #b86;
display: block;
margin-top: 5px;
a {
font-weight: 400;
padding: 1px;
text-decoration: none;
color: maroon;
}
.nav {
float: right;
}
`;
export const Header = styled.div`
text-align: center;
clear: both;
.banner {
border: 1px solid #800;
margin: 5px auto;
width: 300px;
height: 100px;
}
img {
border: none;
width: 300px;
height: 100px;
}
.board-title {
font-family: Tahoma, sans-serif;
font-size: 28px;
font-weight: 700;
letter-spacing: -2px;
margin-top: 0;
color: maroon;
}
.board-address {
font-size: 9pt;
margin-top: 5px;
font-size: 9pt;
}
`;
export const Break = styled.hr`
width: 90%;
border: none;
border-top: 1px solid #d9bfb7;
height: 0;
`;
export const PostForm = styled.form`
#post-form-link {
font-size: 22px;
font-weight: 700;
text-align: center;
}
a, a:visited {
color: #00e;
text-decoration: none;
}
a:hover {
color: red;
}
`;
export const TopBar = styled.div`
clear: both;
hr {
border: none;
border-top: 1px solid #d9bfb7;
height: 0;
}
#search-box {
height: 16px;
line-height: 16px;
margin-top: 0;
margin-right: 2px;
margin-bottom: 0;
margin-left: 2px;
padding: 0 2px;
width: 120px;
-webkit-appearance: none;
appearance: none;
border: 1px solid #aaa;
outline: none;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
}
a {
color: #00e;
text-decoration: none;
}
a:hover {
color: red;
}
`;
export const BoardForm = styled.form`
.thread {
margin: 0;
clear: both;
}
.op-container {
display: inline;
}
.op {
display: inline;
}
.post {
margin: 4px 0;
overflow: hidden;
}
.ext-button {
float: left;
margin-right: 5px;
margin-top: -1px;
cursor: pointer;
margin-bottom: -4px;
width: 18px;
height: 18px;
}
img {
border: none;
}
.post-info {
display: block;
width: 100%;
}
.name-block {
display: inline-block;
}
.name {
color: #117743;
font-weight: 700;
}
.post-number a {
text-decoration: none;
color: maroon;
}
.post-number a:hover {
color: red;
}
.reply-link:not(:hover) {
color: #00e !important;
}
.post-menu-button {
color: #000080;
margin-left: 5px;
text-decoration: none;
line-height: 1em;
display: inline-block;
transition: transform 0.1s;
width: 1em;
height: 1em;
text-align: center;
outline: none;
opacity: 0.8;
}
.post-menu-button:hover {
color: red;
}
.backlink {
font-size: 0.8em !important;
display: inline;
padding: 0;
padding-left: 5px;
}
.quote-link {
color: navy;
}
.quote-link:hover {
color: red;
}
.backlink span {
padding: 0;
}
blockquote {
display: block;
}
.quote {
color: #789922;
}
.side-arrows {
color: #e0bfb7;
float: left;
margin-right: 2px;
margin-top: 0;
margin-left: 2px;
}
.post-reply {
background-color: #f0e0d6;
border: 1px solid #d9bfb7;
margin-top: 2px;
border-left: none;
border-top: none;
display: table;
padding: 2px;
}
`;
-298
View File
@@ -1,298 +0,0 @@
import styled from 'styled-components';
export const Container = styled.div`
height: 100%;
color: #800;
font: 13px/1.231 arial, helvetica, clean, sans-serif;
text-align: center;
margin: auto;
text-align: left;
width: 57.69em;
min-width: 750px;
padding: 0;
@media (max-device-width: 640px) {
min-width: 0;
width: auto;
padding: 10px;
}
`;
export const Header = styled.div`
margin-bottom: 0;
margin: 0;
padding: 0;
`;
export const Logo = styled.div`
font-size: 1px;
line-height: 0;
height: 120px;
overflow: hidden;
margin: 0 auto;
width: 300px;
img {
margin: auto;
display: block;
border: none;
width: 100%;
}
`;
export const Search = styled.div`
text-align: center;
margin-bottom: 20px;
input[type="text"] {
width: 400px;
height: 30px;
font-size: 18px;
padding: 3px 10px;
box-sizing: border-box;
-webkit-appearance: none;
-webkit-border-radius: 0;
border-radius: 0;
margin: 0;
margin-right: 2px;
border: 1px solid #aaa;
outline: none;
font-family: arial, helvetica, sans-serif;
}
input[type="submit"] {
width: 60px;
height: 30px;
font-size: 14px;
margin-left: 5px;
}
@-moz-document url-prefix() {
input[type="submit"] {
vertical-align: top;
}
}
@media only screen and (max-width: 480px) {
text-align: center;
input[type="text"] {
width: 80%;
height: 35px;
font-size: 20px;
padding: 5px;
box-sizing: border-box;
border-radius: 0;
}
input[type="submit"] {
height: 35px;
font-size: 14px;
padding: 5px;
box-sizing: border-box;
vertical-align: top;
width: 60px;
-webkit-appearance: none;
}
}
`;
export const Page = styled.div`
margin: 0;
padding: 0;
`;
export const About = styled.div`
background: #fff;
color: #000;
border: 1px solid;
margin-bottom: .5em;
padding-bottom: .5em;
`;
export const AboutTitle = styled.div`
background: #800;
color: #fff;
position: relative;
padding-left: .5em;
line-height: 2em;
h2 {
font-size: 131%;
font-weight: 700;
margin: 0;
padding: 0;
}
`;
export const AboutContent = styled.div`
line-height: 1.5em;
font-size: 93%;
padding: .5em;
padding-top: .25em;
padding-bottom: 0;
min-height: 91px;
#content {
min-height: 91px;
}
a:visited {
color: blue;
}
p {
margin: 0;
padding: 0;
}
`;
export const Boards = styled.div`
border: 1px solid;
margin: 0;
padding: 0;
padding-bottom: .5em;
background: #fff;
`;
export const BoardsTitle = styled.div`
background: #fca;
color: #800;
position: relative;
padding-left: .5em;
line-height: 2em;
h2 {
font-size: 131%;
font-weight: 700;
margin: 0;
padding: 0;
}
`;
export const BoardsContent = styled.div`
font-size: 93%;
padding: .5em;
padding-top: .25em;
padding-bottom: 0;
line-height: 130%;
text-align: center;
.board {
vertical-align: top;
display: inline-block;
word-wrap: break-word;
overflow: hidden;
margin-top: 5px;
padding: 5px 0 3px;
position: relative;
width: 175px;
max-height: 320px;
margin-bottom: 10px;
}
.board-title {
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
display: block;
white-space: nowrap;
margin-bottom: 5px;
}
img {
border: 1px solid #800;
display: inline-block;
width: 150px;
height: 150px;
}
.board-text {
margin-bottom: 5px;
padding: 0 2px;
white-space: pre-line;
}
`;
export const Footer = styled.div`
font-size: 93%;
text-align: center;
clear: both;
padding-top: .5em;
padding-bottom: 5em;
ul {
border-top: 1px solid;
display: table;
margin: auto;
width: 750px;
padding: 0;
}
li {
background: #fed;
display: block;
float: left;
border: 1px solid;
padding: 2px 1em 2px 1em;
border-left: none;
margin-top: -1px;
list-style: none;
}
.fill {
border-top: 1x solid;
border-right: 0;
border-bottom: 0;
border-left: 0;
background: #ffe;
width: 10.5%;
}
.first {
border-left: 1px solid;
}
a {
color: #800;
text-decoration: none;
}
@media (max-device-width: 640px) {
padding-top: 2em;
padding-bottom: 3em;
ul {
width: auto;
border-top: none;
line-height: 2;
display: flex;
flex-wrap: wrap;
justify-content: center;
row-gap: 10px;
}
.fill {
display: none;
background: inherit;
}
li {
background: inherit;
display: inline;
float: none;
border: none;
white-space: nowrap;
}
.first {
border-left: none;
}
a {
color: blue;
text-decoration: underline;
}
}
`;
-5
View File
@@ -1,5 +0,0 @@
import styled from 'styled-components';
export const Title = styled.h1`
font-size: 1.5em;
`;