kollektivforeningen.dk/themes/black-and-light/layouts/partials/styles.html

373 lines
5.1 KiB
HTML

<style>
* {
border:0;
font:inherit;
font-size:100%;
vertical-align:baseline;
margin:0;
padding:0;
text-decoration-skip: ink;
}
a,
a:active,
a:visited
{
color: #41337a;
}
body {
font-family: monospace;
font-size:17px;
color:#1d1313;
max-width:700px;
margin:auto;
}
section, footer
{
text-align:left;
width:100%;
font-size:15px;
margin: 20px 0;
line-height: 140% !important;
padding: 28px 20px 20px 20px;
}
section
{
background-color: #ddd7f7; /*#8ab9b5;*/
color: #331e36;
border-radius: 20px;
}
section.section_secondary
{
background-color: #d3f8e2;
}
footer
{
text-align: center;
}
a img {
border:none;
}
img {
margin: 10px auto 10px auto;
max-width: 100%;
display: block;
}
strong {
font-weight:600;
}
q:before {
content:"\201C";
}
q:after {
content:"\201D";
}
del,s {
text-decoration:line-through;
}
blockquote {
font-family:"Old Standard TT",serif;
text-align:center;
padding:50px;
}
blockquote p {
display:inline-block;
font-style:italic;
}
blockquote:before,blockquote:after {
font-family:"Old Standard TT",serif;
content:'\201C';
font-size:35px;
color:#403c3b;
}
blockquote:after {
content:'\201D';
}
hr {
width:40%;
height: 1px;
background:#403c3b;
margin: 25px auto;
}
h1 {
font-size:35px;
text-align: center;
text-transform: uppercase;
color: #310a31;
margin-top: 40px;
}
h2 {
font-size:28px;
margin-top:28px;
}
h3 {
font-size:22px;
margin-top:18px;
}
h1 a,h2 a,h3 a {
text-decoration:none;
}
li:first-child h2 {
margin-top: 0;
}
#sub-header, time {
font-size:13px;
}
#nav h1 {
color:#00bbbd;
padding-bottom: 10px;
display: block;
font-weight: bold;
text-transform: uppercase;
font-size: 1.8vw;
font-decoration: none;
float: right;
}
#nav
{
margin-bottom: 50px;
text-align:center;
position:static;
margin-top:60px;
background-color: transparent;
}
.clearfix
{
clear: both;
}
#nav ul {
display: table;
margin: 8px auto 0 auto;
float: right;
}
#nav li {
list-style-type:none;
display:table-cell;
font-size:15px;
padding: 0 0 0 20px;
text-transform: uppercase;
}
section h1,section h2 {
margin-bottom:15px;
}
section h2 {
font-size:25px;
}
section h1 {
font-size:30px;
}
section ol,
section ul {
margin-left: 45px;
margin-bottom: 15px;
}
section p
{
margin-bottom: 15px;
}
section ul.posts_listing {
padding-left: 0;
margin:0 0 50px;
}
.highlight {
margin: 10px 0;
}
#links {
margin: 50px 0 0 0;
}
#links :nth-child(2) {
float:right;
}
#not-found {
text-align: center;
}
#not-found a {
font-family:"Old Standard TT",serif;
font-size: 200px;
text-decoration: none;
display: inline-block;
padding-top: 225px;
}
@media print {
body {
max-width: none;
padding: 0;
background-color: none;
}
#nav a h1
{
font-size: 1.5vw;
}
section
{
width: 95%;
padding: 0 !important;
}
}
@media (max-width: 750px) {
body {
padding-left:20px;
padding-right:20px;
}
#nav li {
font-size:13px;
padding: 0 15px;
}
section {
margin-top:0;
padding-top:50px;
font-size:14px;
}
section h1 {
font-size:25px;
}
section h2 {
font-size:22px;
}
.posts_listing li div {
font-size:12px;
}
}
@media (max-width: 400px) {
body {
padding-left:20px;
padding-right:20px;
}
#nav li {
font-size:12px;
padding: 0 10px;
}
section {
margin-top:0;
padding-top:20px;
font-size:12px;
}
section h1 {
font-size:20px;
}
section h2 {
font-size:18px;
}
.posts_listing li div{
font-size:12px;
}
}
pre, code {
font: 12px Consolas, "Liberation Mono", Menlo, Courier, monospace;
background-color: #f7f7f7;
}
code {
font-size: 12px;
padding: 4px;
}
pre {
margin-top: 0;
margin-bottom: 16px;
word-wrap: normal;
padding: 16px;
overflow: auto;
font-size: 85%;
line-height: 1.45;
}
pre>code {
padding: 0;
margin: 0;
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
border: 0;
}
pre code {
display: inline;
max-width: auto;
padding: 0;
margin: 0;
overflow: visible;
line-height: inherit;
word-wrap: normal;
background-color: transparent;
border: 0;
}
pre code::before,
pre code::after {
content: normal;
}
em,q,em,dfn {
font-style:italic;
}
ul.posts_listing li {
list-style: none;
}
.mono,pre,code,tt,p code,li code {
font-family:Menlo,Monaco,"Andale Mono","lucida console","Courier New",monospace;
}
.serif {
font-family:"Old Standard TT",serif;
}
</style>