Browse Source

more subtle sticky menu + article content images styling

master
mb@mb 6 years ago
parent
commit
cff1a518f9
  1. 31
      theme/wttf/static/main.css

31
theme/wttf/static/main.css

@ -38,7 +38,7 @@
body{ body{
margin:0px; margin:0px;
font-size: 14px; font-size: 14px;
font-family: "serif"; font-family: "headers";
background-color: #ccd1cab3; background-color: #ccd1cab3;
/*background: linear-gradient(to bottom right, #c2c2c2, #fff7f7, #e4e3e3);*/ /*background: linear-gradient(to bottom right, #c2c2c2, #fff7f7, #e4e3e3);*/
word-break: normal; word-break: normal;
@ -144,11 +144,11 @@ header{
} }
#menu.sticky{ #menu.sticky{
position: fixed; position: fixed;
font-size: 1.5em; font-size: 1.1em;
width: calc(100% - 2em); width: calc(100% - 2em);
top:0; top:0;
left:0; left:0;
padding:8px 1em 8px 2em; padding:2px 1em 2px 2em;
margin:0; margin:0;
background-color: #fb4817; background-color: #fb4817;
} }
@ -166,6 +166,7 @@ header{
padding:0; padding:0;
height: auto; height: auto;
margin:0 0.5em; margin:0 0.5em;
font-size: 12px;
} }
#content{ #content{
@ -248,6 +249,9 @@ header{
padding:0 20px; padding:0 20px;
color:black; color:black;
} }
.entry-content img{
width: 100%;
}
.entry-content a{ .entry-content a{
text-decoration: underline; text-decoration: underline;
} }
@ -262,15 +266,30 @@ header{
/* article pages */ /* article pages */
#content.article{ #content.article{
max-width: 820px;
margin:0 0 5em 50px;
} }
#content.article .entry-title{ #content.article .entry-title{
margin:3em 3em 2em 2em; margin:3em 3em 2em 2em;
} }
#content.article h1, #content.article h2, #content.article h3{
clear: both;
}
#content.article .entry-content{ #content.article .entry-content{
font-size: 21px; font-size: 18px;
letter-spacing: 0.03em;
line-height: 1.7; line-height: 1.7;
max-width: 900px;
margin:0 0 5em 50px;
}
#content.article .entry-content .img{
width: 80%;
margin:2em 0;
font-family: sans-serif;
font-size:12px;
line-height: 1.4;
}
#content.article .entry-content .img img{
width: 100%;
margin-bottom: 0.5em
} }
#list{ #list{

Loading…
Cancel
Save