Difference between revisions of "Template:Dundeenewspage"

Line 1: Line 1:
 
<html>
 
<html>
 
<style type="text/css">
 
<style type="text/css">
 +
.row-centered {
 +
text-align:center;
 +
}
 +
 +
.overview{
 +
 +
 +
 +
 +
}
 +
 +
.newscontentcontainer {
 +
display:inline-block;
 +
float:none;
 +
        text-align:left;
 +
        margin-right:-4px;
 +
}
  
h1 {  
+
.newsimagecontainer {
 +
border:1px solid white;
 +
width: 100%;
 +
height: auto;
 +
        max-width: 412px;
 +
}
 +
 +
.newscontentcontainer
 +
.subjecttitle {
 
font-weight: 300;
 
font-weight: 300;
 
font-size: 1.8em;
 
font-size: 1.8em;
Line 9: Line 34:
 
background-color: black;
 
background-color: black;
 
color: white;
 
color: white;
/*padding-left:10px;
+
padding-left:10px;
padding-right:10px;*/
+
padding-right:10px;
padding: 10px;
+
 
font-family: typewriter;
 
font-family: typewriter;
 
}
 
}
 
 
@font-face {
+
 +
.subjectdate {
 +
font-size: 1.5em;
 +
padding-top: 4px;
 +
background-color: black;
 +
color: #66FF33;
 +
padding-left:10px;
 +
padding-right:10px;
 
font-family: typewriter;
 
font-family: typewriter;
src: url(https://static.igem.org/mediawiki/2015/5/5a/DUNDEE15-Bohemian-typewriter.ttf);
 
 
}
 
}
+
 
#section {
+
.subjectcontent {
width:33%;
+
font-style: normal;
float:left;
+
font-weight: 300;
padding:10px;  
+
margin: 15px 0px 13px 0px;
 +
font-size: 1.5em;
 +
line-height: 1.2em;
 +
color: #d3d5d6;
 
}
 
}
+
#section2 {
+
width:67%;
+
.row{
float:right;
+
grid-rows:100px;
padding:10px;  
+
 
}
 
}
 
 
ul.rig {
+
.paragraph{
list-style: none;
+
font-style: normal;
font-size: 0px;
+
font-weight: 300;
margin-left: -2.5%; /* should match li left margin */
+
margin: 15px 0px 13px 0px;
 +
font-size: 1.5em;
 +
line-height: 1.2em;
 +
color: #d3d5d6;
 
}
 
}
 
ul.rig li {
 
display: inline-block;
 
padding: 10px;
 
margin: 0 0 2.5% 2.5%;
 
vertical-align: top;
 
/*max-width:30%;*/
 
}
 
 
ul.rig li img {
 
max-width: 100%;
 
/*width: 33%;*/
 
height: auto;
 
 
 
 +
@font-face {
 +
font-family: typewriter;
 +
src: url(https://static.igem.org/mediawiki/2015/5/5a/DUNDEE15-Bohemian-typewriter.ttf);
 
}
 
}
 
 
/* class for 3 columns */
+
 
ul.rig.columns-3 li {
+
 
width: 30.5%; } /* this value + 2.5 should = 33% */
+
+
.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
+
ul.rig.columns-6 li {
+
width: 14.17%;
+
}*/
+
/*
+
@media (max-width: 480px) {
+
ul.grid-nav li {
+
display: block;
+
margin: 0 0 5px;
+
}
+
+
ul.grid-nav li a {
+
display: block;
+
}
+
+
ul.rig {
+
margin-left: 0;
+
}
+
+
ul.rig li {
+
width: 100% !important; /* over-ride all li styles
+
margin: 0 0 20px;
+
}
+
}
+
*/
+
+
+
 
</style>
 
</style>
 
</html>
 
</html>

Revision as of 09:13, 2 September 2015