Template:Team:DukeHomePage/CSS

From 2014.igem.org

(Difference between revisions)
Line 125: Line 125:
}
}
-
.circle-text {
+
 
-
    width:50%;
+
-
}
+
-
.circle-text:after {
+
-
    content: "";
+
-
    display: block;
+
-
    width: 100%;
+
-
    height:0;
+
-
    padding-bottom: 100%;
+
-
    background: #4679BD;
+
-
    -moz-border-radius: 50%;
+
-
    -webkit-border-radius: 50%;
+
-
    border-radius: 50%;
+
-
}
+
-
.circle-text div {
+
-
    float:left;
+
-
    width:100%;
+
-
    padding-top:50%;
+
-
    line-height:1em;
+
-
    margin-top:-0.5em;
+
-
    text-align:center;
+
-
    color:white;
+
-
}
+
</style>
</style>

Revision as of 19:38, 21 July 2014