Initial hacking.
This commit is contained in:
@@ -0,0 +1,148 @@
|
||||
nav {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
margin: .1em auto 0 auto;
|
||||
text-align: center;
|
||||
background: rgba(255,255,255,.8);
|
||||
margin: 0;
|
||||
z-index: 3;
|
||||
}
|
||||
nav li {
|
||||
display: inline-block;
|
||||
line-height: 3em;
|
||||
margin: auto 1em;
|
||||
}
|
||||
nav li a {
|
||||
display: inline-block;
|
||||
margin: auto;
|
||||
color: gray;
|
||||
text-decoration: none;
|
||||
}
|
||||
nav li.active a {
|
||||
color: #048;
|
||||
}
|
||||
header {
|
||||
margin-top: 3rem;
|
||||
height: 16rem;
|
||||
overflow: hidden;
|
||||
text-align: right;
|
||||
color: #fff;
|
||||
font-family: monospace;
|
||||
padding: 1rem;
|
||||
font-size: 4em;
|
||||
background: url('pvv-background.png') no-repeat 1% 50% #024;
|
||||
background-size: contain;
|
||||
}
|
||||
main {
|
||||
max-width: 60rem;
|
||||
margin: -7rem auto 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
article {
|
||||
padding: .1rem 1rem 1rem 1rem;
|
||||
margin: 0 1rem 0 1rem;
|
||||
background: white;
|
||||
|
||||
z-index: 2;
|
||||
position: relative;
|
||||
}
|
||||
article p {
|
||||
text-align: justify;
|
||||
}
|
||||
article:first-child {
|
||||
border-radius: .5rem .5rem 0 0;
|
||||
}
|
||||
main:before {
|
||||
content: " ";
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 16rem;
|
||||
left: 1rem;
|
||||
right: 1rem;
|
||||
margin: 0 auto;
|
||||
height: 8em;
|
||||
z-index: 1;
|
||||
max-width: 58rem;
|
||||
box-shadow: 0 -.2rem .15rem rgba(0,0,0,.3);
|
||||
border-radius: 0 0 .3em .3em;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.split {
|
||||
display: table;
|
||||
width: 100%;
|
||||
table-layout: fixed;
|
||||
border-spacing: 1em;
|
||||
}
|
||||
.split > * {
|
||||
display: table-cell;
|
||||
}
|
||||
|
||||
a.btn {
|
||||
text-decoration: none;
|
||||
border: 1px solid #048;
|
||||
color: #048;
|
||||
padding: .2em 1em;
|
||||
border-radius: .2em;
|
||||
white-space: nowrap;
|
||||
display: inline-block;
|
||||
margin-bottom: .25em;
|
||||
}
|
||||
a.btn:hover {
|
||||
border-color: #084;
|
||||
background: #eee;
|
||||
color: #084;
|
||||
}
|
||||
a.btn:active {
|
||||
border-color: #084;
|
||||
background: #084;
|
||||
color: white;
|
||||
}
|
||||
|
||||
.icon.subscribe {
|
||||
color: white;
|
||||
background: #082;
|
||||
border-radius: 1em;
|
||||
width: 1em;
|
||||
line-height: 1em;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 50rem) {
|
||||
.split, .split > * {
|
||||
display: block;
|
||||
}
|
||||
img.float-right {
|
||||
display: none;
|
||||
}
|
||||
nav li {
|
||||
margin: auto .5em;
|
||||
}
|
||||
header {
|
||||
font-size: 2em;
|
||||
}
|
||||
main {
|
||||
margin: -13rem auto 0 auto;
|
||||
}
|
||||
article {
|
||||
margin: 0 .5rem 0 .5rem;
|
||||
}
|
||||
main:before {
|
||||
left: .5rem;
|
||||
right: .5rem;
|
||||
}
|
||||
}
|
||||
@media screen and (max-width: 23rem) {
|
||||
body {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
header {
|
||||
margin-top: 2.4rem;
|
||||
}
|
||||
main:before {
|
||||
top: 13rem;
|
||||
height: 13em;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user