Template:Team:BNU-China/CSS/main

From 2014.igem.org

(Difference between revisions)
 
(5 intermediate revisions not shown)
Line 2: Line 2:
<head>
<head>
<style>
<style>
-
 
-
.card-holder { 
 
-
  top:0px;
 
-
  position: fixed;
 
-
  width: 0px;
 
-
  overflow: visible;
 
-
}
 
-
 
-
.card-wrapper {
 
-
  display: inline-block;
 
-
  float: right;
 
-
  clear: both;
 
-
}
 
-
 
-
.card {
 
-
  position: relative;
 
-
  left: -210px;
 
-
  padding: 10px 32px 10px 10px;
 
-
  margin: 8px; 
 
-
  x-box-shadow: 0 0 8px 0px rgba(0, 0, 0, 0.5);
 
-
  box-shadow: 8px 0 8px -8px rgba(0, 0, 0, 0.5);
 
-
  background: #fff;
 
-
  transition: all 0.3s ease-in-out 0.5s;
 
-
}
 
-
 
-
.card:hover {
 
-
  position: relative;
 
-
  left: -20px;
 
-
  box-shadow:
 
-
    0 -8px 8px -8px rgba(0, 0, 0, 0.5),
 
-
    0 8px 8px -8px rgba(0, 0, 0, 0.5);
 
-
  transition: all 0.5s ease-in-out;
 
-
}
 
-
 
-
.card-content {
 
-
  display: inline-block;
 
-
  color: #fff;
 
-
  font-weight: bold;
 
-
  white-space: nowrap;
 
-
}
 
-
 
-
.bg-01 { background: #EDD6B4; }
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
 
-
/*clean the default css*/
 
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear, .center {display: none;} /*-- hides default wiki settings --*/
#contentSub, #footer-box, #catlinks, #search-controls, #p-logo, .printfooter, .firstHeading,.visualClear, .center {display: none;} /*-- hides default wiki settings --*/
Line 1,704: Line 1,640:
}
}
.togglebox div {
.togglebox div {
-
padding: 20px;
+
padding: 60px;
}
}
.togglebox p {
.togglebox p {

Latest revision as of 22:36, 17 October 2014