Browse Source

main view tryouts

master
rra 7 years ago
parent
commit
84e497ba54
  1. 82
      theme/wttf/static/main.css

82
theme/wttf/static/main.css

@ -1,5 +1,30 @@
body{ body{
margin:0px; margin:0px;
font: 14px "ArimaKoshiRegular";
/*line-height: 1.5em;*/
color:midnightblue;
}
#menu select{
height:3em;
vertical-align: middle;
}
h1{
font-size: 42px;
line-height:45px;
margin-top: 0.3em;
margin-bottom: 0.3em;
font: 36px "ArimaKoshiBlack";
text-align:center;
font-weight: bold;
}
article{
}
a{
color:lightseagreen;
} }
#content{ #content{
@ -7,22 +32,48 @@ body{
} }
.featured { .featured {
max-width: calc(50% - 8em); max-width: calc(50% - 6em);
float: left; float: left;
margin: 2em; margin: 2em;
padding:1em; padding:1em;
background-color: snow; background-color: gainsboro;
/*display: inline-block;*/ /*background-color: powderblue;*/
/*vertical-align: top;*/ box-shadow: 1.1em 1.1em gainsboro;
font: 20px "ArimaKoshiRegular";
line-height: 30px;
font-weight:500;
}
.featured:nth-child(even) {
float:right;
}
.entry-title{
text-align:right;
}
.entry-subtitle{
font-size: 14px;
text-align:right;
margin-bottom:1em;
}
.entry-content{
padding-left:2em;
padding-right:2em;
}
.entry-tags{
font-weight:bold;
}
.entry-category{
font-weight:bold;
}
.entry-date{
font-style:italic;
} }
#list{ #list{
width:100%; width:100%;
clear: both; clear: both;
} }
.featured:nth-child(even) {
/*margin-top: 16em;*/
float:right;
}
#menu{ #menu{
max-width: calc(50% - 4em); max-width: calc(50% - 4em);
float:right; float:right;
@ -32,3 +83,18 @@ body{
footer{clear:both;} footer{clear:both;}
@media only screen and (orientation:portrait) {
body {
background-color: blue;
}
.featured{
max-width: calc(100%-8em); !important
clear:both; !important
}
.featured:nth-child(even) {
clear:both; !important
}
}
Loading…
Cancel
Save