2018-10-19 18:47:43 +10:30

190 lines
2.4 KiB
CSS

@media (max-width: 1000px)
{
/* Do some mobile processing here */
}
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;
}
.centreColumn
{
position: relative;
width: 800px;
min-height: calc(100vh - 120px);
margin-left: calc(50vw - 400px);
padding-top: 100px;
}
.headerContainer
{
line-height: 70px;
position: fixed;
z-index: 10;
top: 0;
width: 100vw;
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
{
position: absolute;
bottom: 0;
width: 100%;
height: 100px;
}
.sidebar
{
position: absolute;
top: 100px;
right: -200px;
width: 200px;
}
.post
{
width: 100%;
height: auto;
margin-top: 10px;
margin-bottom: 10px;
}
.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
{
font-size: 45px;
line-height: 50px;
display: inline;
}
.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;
}