2018-10-30 11:01:38 +10:30

390 lines
5.0 KiB
CSS

@media (max-width: 1215px)
{
.sidebar
{
display: none;
}
}
html,
body,
.rootContainer
{
font-family: Arial, Helvetica, sans-serif;
position: relative;
height: 100%; /* y tho */
margin: 0; /* Override the default page border */
padding: 0;
color: #000;
background-color: #fff;
}
a
{
font-weight: 600;
text-decoration: none;
color: #000;
}
input,
textarea
{
background-color: #eee;
}
textarea
{
font-family: Arial, Helvetica, sans-serif;
}
button
{
font-weight: bold;
cursor: pointer;
color: #fff;
background-color: #000;
}
button:disabled
{
cursor: default;
background-color: #888;
}
h1
{
font-size: 45px;
line-height: 50px;
display: inline-block;
margin-right: 10px;
margin-bottom: 5px;
margin-left: 10px;
padding-right: 5px;
padding-left: 5px;
color: #fff;
background-color: #000;
box-shadow: 10px 0 0 0 #000, -10px 0 0 0 #000;
}
.centreColumn
{
position: relative;
width: 800px;
min-height: calc(100vh - 100px - 60px);
margin-right: auto;
margin-left: auto;
padding-top: 100px;
}
.headerContainer
{
line-height: 70px;
position: fixed;
z-index: 10;
top: 0;
width: 100%;
height: 70px;
vertical-align: middle;
color: #fff;
}
.centreHeaderContainer
{
position: relative;
width: 800px;
height: 70px;
margin-right: auto;
margin-left: auto;
}
.titleAndTagline
{
font-weight: normal;
display: inline-block;
height: 70px;
padding-right: 20px;
padding-left: 20px;
vertical-align: baseline;
color: #fff;
background-color: #000;
}
.titleAndTagline .title
{
font-size: 22pt;
}
.titleAndTagline .tagline
{
font-size: 10pt;
}
.navButtons
{
float: right;
}
.navButtons a
{
display: block;
float: left;
width: 60px;
height: 100%;
margin: 0;
padding-right: 10px;
padding-left: 10px;
cursor: pointer;
transition: box-shadow .2s ease;
text-align: center;
color: #fff;
background-color: #000;
}
.navButtons a.current
{
color: #000;
box-shadow: inset 0 60px 0 0 #fff; /* Box shadow hack to get an inset border */
}
.navButtons a:hover:not(.current)
{
box-shadow: inset 0 10px 0 0 #fff;
}
.footerContainer
{
width: 100%;
height: 40px;
}
.centreFooterContainer
{
line-height: 20px;
width: calc(800px - 20px);
height: 100%;
margin-right: auto;
margin-left: auto;
padding: 10px;
text-align: center;
vertical-align: middle;
color: #fff;
background-color: #000;
}
.sidebar
{
position: absolute;
top: 100px;
right: -200px;
width: 200px;
}
.post
{
width: 100%;
height: auto;
margin-top: 10px;
margin-bottom: 30px;
}
.post .inlineFeatured
{
color: #fff;
background-color: #000;
box-shadow: 10px 0 0 0 #000, -10px 0 0 0 #000;
}
.post .titleContainer
{
padding-left: 10px;
}
.post .title
{
display: inline;
margin-left: 0; /* Compensate for default H1 style */
padding: 0;
}
.post .meta
{
font-size: 20px;
line-height: 30px;
display: inline;
padding-top: 5px;
padding-bottom: 5px;
color: #fffa;
}
.post .author
{
font-weight: bold;
color: #fff;
}
.post .tags
{
font-size: 15px;
line-height: 35px;
display: inline;
}
.post .tags .tag
{
margin-right: 10px;
padding-top: 3px;
padding-bottom: 3px;
color: #fffa;
}
.createForm .title,
.createForm .author,
.createForm .titleAuthorSeparator
{
font-size: 16pt;
line-height: 30px;
display: inline-block;
box-sizing: border-box;
width: 100%;
padding-right: 7px;
padding-left: 7px;
border: 0;
}
.createForm .title,
.createForm .author
{
border-bottom: 5px solid #0009;
}
.createForm .title:focus,
.createForm .author:focus
{
border-bottom: 5px solid #000f;
}
.createForm .title
{
float: left;
width: calc(70% - 50px);
}
.createForm .author
{
float: right;
width: 30%;
color: #000;
}
.createForm .titleAuthorSeparator
{
width: 50px;
text-align: center;
}
.createForm .tags
{
font-size: 20pt;
line-height: 25px;
width: 100%;
background-color: #eee;
}
.createForm .content,
.createForm .preview
{
position: relative;
display: inline-block;
overflow-y: visible;
width: calc(100% - 20px);
height: calc(100vh - 387px - 100px);
min-height: 400px;
margin: 0;
margin-bottom: 10px;
padding: 10px;
resize: vertical;
border: 0;
}
.createForm .content
{
font-size: 12pt;
color: #000;
}
.createForm .buttonContainer
{
width: 100%;
height: 60px;
}
.createForm button
{
font-size: 16pt;
display: inline-block;
float: right;
max-width: 100%;
height: calc(100% - 20px);
margin-bottom: 20px;
margin-left: 15px;
padding-right: 15px;
padding-left: 15px;
border: 0;
}
.createForm button.current
{
/* color: #000;
background-color: #fff; */
}