Template:Team:Aachen/Stylesheet

From 2014.igem.org

(Difference between revisions)
Line 3: Line 3:
<style type="text/css">
<style type="text/css">
 +
/****
 +
/* Menu Small
 +
/****
 +
 +
.menusmall-grid {
 +
    margin: 0px 0 0 0;
 +
    padding: 0;
 +
    list-style: none;
 +
    display: inline-block;
 +
    text-align: center;
 +
    width: 100%;
 +
    z-index:1000;
 +
}
 +
.menusmall-grid:after,
 +
.menusmall-item:before {
 +
    content: '';
 +
    display: table;
 +
}
 +
.menusmall-grid:after {
 +
    clear: both;
 +
}
 +
.menusmall-grid li {
 +
    width: 150px;
 +
    display: inline-block;
 +
    margin-bottom:20px;
 +
    position:relative;
 +
    float: left;
 +
    margin-left: 20px ;
 +
    margin-right: auto ; /*75px*/
 +
    display: table-cell;
 +
}
 +
.team-grid ul {
 +
    display: table;
 +
}
 +
.menusmall-item {
 +
    border-radius: 10%;
 +
    border: 3px solid #0069B3;  /* #1B4046; */
 +
    position: relative;
 +
    cursor: default;
 +
 +
    -webkit-transition: all 0.4s ease-in-out;
 +
    -moz-transition: all 0.4s ease-in-out;
 +
    -o-transition: all 0.4s ease-in-out;
 +
    -ms-transition: all 0.4s ease-in-out;
 +
    transition: all 0.4s ease-in-out;
 +
}
 +
 +
.menusmall-img {
 +
    background-size:100% 100%;
 +
    border-radius: 10%;
 +
    height: 150px;
 +
    width: 150px;
 +
}
 +
.menusmall-info {
 +
    position: absolute;
 +
    width: 150px;
 +
    height: 150px;
 +
    border-radius: 10%;
 +
    opacity: 1;
 +
    text-align: center;
 +
    font-size: medium;
 +
    background-color: #E8E8E8;
 +
    -webkit-backface-visibility: hidden; /*for a smooth font */
 +
}
 +
.menusmall-info p{
 +
    padding-top:25%;
 +
}
 +
.menusmall-img:hover {
 +
opacity: 0.2;
 +
cursor: pointer;
 +
}
 +
 +
.menusmall-info-item
 +
{
 +
height:280px;
 +
width:225px;
 +
position: relative;
 +
float: left;
 +
margin: 10px;
 +
}
 +
 +
.menusmall-info-item img
 +
{
 +
max-width:100%;
 +
max-height:100%;
 +
margin:left;
 +
display:inline-block;
 +
}
/*************************************************************************/
/*************************************************************************/
/* custom team style */
/* custom team style */
Line 63: Line 151:
     text-align: center;
     text-align: center;
     font-size: medium;
     font-size: medium;
-
 
     background-color: #E8E8E8;
     background-color: #E8E8E8;
-
 
     -webkit-backface-visibility: hidden; /*for a smooth font */
     -webkit-backface-visibility: hidden; /*for a smooth font */
}
}

Revision as of 07:04, 13 October 2014