Template:Team:DukeHomePage/CSS
From 2014.igem.org
(Difference between revisions)
Line 123: | Line 123: | ||
.round-button:hover { | .round-button:hover { | ||
background: #262626; | background: #262626; | ||
+ | } | ||
+ | |||
+ | .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:28, 21 July 2014