MyStyles.css: Difference between revisions

From Engineering Policy Guide
Jump to navigation Jump to search
No edit summary
Tag: visualeditor-switched
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
.my0 {
b {
   width:100%;
   background-color: red;
   overflow:auto;
  color: white;
  padding: 1em 1.5em;
  text-decoration: none;
   text-transform: uppercase;
}
}


b:hover {
.my1 {
   background-color: #555;
  width:33%;
   float:left;
}
}


b:active {
.your_div_id {
   background-color: black;
  width: 855px;
  margin:0 auto;
   text-align: center;
}
}
b:visited {
  background-color: #ccc;
}
.button {
  border-top: 1px solid #96d1f8;
  background: #65a9d7;
  background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#65a9d7));
  background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
  background: -moz-linear-gradient(top, #3e779d, #65a9d7);
  background: -ms-linear-gradient(top, #3e779d, #65a9d7);
  background: -o-linear-gradient(top, #3e779d, #65a9d7);
  padding: 11px 22px;
  -webkit-border-radius: 29px;
  -moz-border-radius: 29px;
  border-radius: 29px;
  -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;
  -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;
  box-shadow: rgba(0,0,0,1) 0 1px 0;
  text-shadow: rgba(0,0,0,.4) 0 1px 0;
  color: white;
  font-size: 19px;
  font-family: Georgia, serif;
  text-decoration: none;
  vertical-align: middle;
  }
.button:hover {
  border-top-color: #28597a;
  background: #28597a;
  color: #ccc;
  }
.button:active {
  border-top-color: #1b435e;
  background: #1b435e;
  }

Latest revision as of 12:59, 14 February 2025

.my0 {

 width:100%;
 overflow:auto;

}

.my1 {

 width:33%;
 float:left;

}

.your_div_id {

 width: 855px;
 margin:0 auto;
 text-align: center;

}