Difference between revisions of "Template:Dundeenewspage"

 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
<html>
 
<html>
 
<style type="text/css">
 
<style type="text/css">
 
+
.row-centered {
h1 {  
+
text-align:center;
font-weight: 300;
+
font-size: 1.8em;
+
margin: 0px;
+
text-transform: uppercase;
+
background-color: black;
+
color: white;
+
/*padding-left:10px;
+
padding-right:10px;*/
+
padding: 10px;
+
font-family: typewriter;
+
 
}
 
}
+
@font-face {
+
.overviewcontainer{
font-family: typewriter;
+
padding: 30px;
src: url(https://static.igem.org/mediawiki/2015/5/5a/DUNDEE15-Bohemian-typewriter.ttf);
+
 
}
 
}
 
 
#section {
+
.newscontentcontainer {
width:33%;
+
display:inline-block;
float:left;
+
float:none;
padding:10px;  
+
        text-align:left;
 +
        margin-right:-4px;
 
}
 
}
+
 
#section2 {
+
.newsimagecontainer {
width:67%;
+
/*border:1px solid white;*/
float:right;
+
width: 100%;  
padding:10px;  
+
height: auto;
 +
        max-width: 412px;
 +
max-height: 275px;
 
}
 
}
+
ul.rig {
+
.newscontentcontainer
list-style: none;
+
.subjecttitle {
font-size: 0px;
+
margin: 0px;
margin-left: -2.5%; /* should match li left margin */
+
text-transform: uppercase;
 +
padding-left:10px;
 +
padding-right:10px;
 
}
 
}
 +
 
 
ul.rig li {
+
.subjectdate {
display: inline-block;
+
font-size: 1.5em;
padding: 10px;
+
padding-top: 4px;
margin: 0 0 2.5% 2.5%;
+
color: #66FF33;
vertical-align: top;
+
padding-left:10px;
/*max-width:30%;*/
+
padding-right:10px;
 
}
 
}
+
 
ul.rig li img {
+
.subjectcontent {
max-width: 100%;
+
font-weight: 300;
/*width: 33%;*/
+
margin: 15px 0px 13px 0px;
height: auto;
+
+
 
}
 
}
+
/* class for 3 columns */
+
ul.rig.columns-3 li {
+
.row{
width: 30.5%; } /* this value + 2.5 should = 33% */
+
grid-rows:100px;
+
padding: 20px;
.folder {
+
width: 75%;
+
height: auto;
+
/*margin: 0 auto;*/
+
margin-left: auto;
+
margin-right: auto;
+
        }
+
+
li:Library1{
+
background-image: url('https://static.igem.org/mediawiki/2015/7/72/Aimee2.jpg') no-repeat;
+
 
}
 
}
 
 
li:Library1:hover {
 
background-image: url('https://static.igem.org/mediawiki/2015/0/02/Aimee1.jpg') no-repeat;
 
}
 
 
 
 
/* class for 6 columns
+
.paragraph{
ul.rig.columns-6 li {
+
font-style: normal;
width: 14.17%;  
+
font-weight: 300;
}*/
+
margin: 15px 0px 13px 0px;
/*
+
font-size: 1.5em;
@media (max-width: 480px) {
+
line-height: 1.2em;
ul.grid-nav li {
+
color: #d3d5d6;
display: block;
+
margin: 0 0 5px;
+
 
}
 
}
 
 
ul.grid-nav li a {
+
@font-face {
display: block;
+
font-family: typewriter;
 +
src: url(https://static.igem.org/mediawiki/2015/5/5a/DUNDEE15-Bohemian-typewriter.ttf);
 
}
 
}
 
 
ul.rig {
+
 
margin-left: 0;
+
 
}
+
+
ul.rig li {
+
width: 100% !important; /* over-ride all li styles
+
margin: 0 0 20px;
+
}
+
}
+
*/
+
+
+
 
</style>
 
</style>
 
</html>
 
</html>

Latest revision as of 15:32, 18 September 2015