Advertisement
nmnikolov

01_style.css - velio84

Oct 15th, 2014
346
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.06 KB | None | 0 0
  1. * {
  2.     padding: 0;
  3.     margin: 0;
  4.     font-family: sans-serif;
  5.     font-size: 14pt;
  6.     color: #5A5A5A;
  7. }
  8.  
  9. .wrapper {
  10.     width: 770px; /*chenged from 765px*/
  11.     height: 430px; /*added*/
  12.     margin-left: 200px;
  13.     margin-top: 10px;
  14.     background-color: #EEEEEE;
  15.     border: 1px solid #CECECE;
  16. }
  17.  
  18. form {
  19.     display: inline-block;
  20.     vertical-align: top; /*added*/
  21.     height: 300px; /*added*/
  22.     width: 375px; /*added*/
  23.     margin-top: 15px; /*added*/
  24. }
  25.     /*removed---    form:first-of-type {
  26.         margin-left: 15px;
  27.         margin-top: 15px;
  28.         margin-bottom: 15px;
  29.     }    ---*/
  30.         form:first-of-type legend {
  31.             font-size: 1em;
  32.             font-weight: bold;
  33.             padding: 10px 0 10px 5px; /*added*/
  34.         }
  35.             #register {
  36.                 color: #234465;
  37.             }
  38.         form:first-of-type input { /*added*/
  39.             width: 332px;   /*added*/
  40.             margin-top: 0; /*added*/
  41.             margin-bottom: 10px; /*added*/
  42.         } /*added*/
  43.    
  44.     form:last-child {   /*changed from last-of-type*/
  45.         background-color: #234465;
  46.         vertical-align: 50px;
  47.         /*removed---    padding: 10px;    ---*/  
  48.         /*removed---    height: 288px;    ---*/        
  49.     }
  50.         form:last-of-type input:nth-of-type(-n+2) { /*added*/
  51.             width: 340px;   /*added*/
  52.         }   /*added*/
  53.         form:last-of-type legend {
  54.             color: white;
  55.             font-size: 1em;
  56.             font-weight: bold;
  57.             padding: 15px 0 10px 5px; /*added*/
  58.         }
  59.         form:last-of-type div {
  60.             /*removed---    text-align: right;    ---*/
  61.             width: 150px;   /*added*/
  62.             float: right;   /*added*/
  63.             margin-top: 5px;    /*added*/
  64.             margin-right: 22px; /*added*/  
  65.             display: inline-block;  /*added*/
  66.         }
  67.         form:last-of-type input[type=checkbox] {
  68.             transform: scale(1.5);
  69.             margin-left: 9px;   /*changed from 10px*/
  70.             vertical-align: -5px;
  71.         }
  72.         form:last-of-type label {
  73.             vertical-align: -5px;
  74.             margin-left: 5px;
  75.             color: white;
  76.             font-size: 0.8em;            
  77.         }
  78.         form:last-of-type label:hover {     /*added*/            
  79.             cursor: pointer;    /*added*/        
  80.         }   /*added*/
  81.         form:last-of-type div div { /*changed from  form:last-of-type span*/
  82.             font-size: 0.8em;
  83.             color: white;
  84.             margin-right: 20px;
  85.             text-align: right; /*added*/
  86.             text-decoration: underline; /*added*/
  87.         }
  88.  
  89. fieldset {
  90.     border: none;
  91.     width: 100%;
  92.     height: 100%; /*added*/  
  93. }
  94.  
  95. form:first-of-type fieldset {    /*added*/
  96.     padding-left: 20px; /*added*/
  97. }   /*added*/
  98.  
  99. form:last-of-type fieldset {    /*added*/
  100.     padding-left: 9px; /*added*/
  101. }   /*added*/
  102.  
  103. h1 {
  104.     color: #234465;
  105.     font-size: 1.5em;
  106.     padding: 15px;
  107. }
  108.  
  109. .wrapper div:nth-child(2) {
  110.     font-size: 0.8em;
  111.     padding: 10px 15px;
  112. }
  113.  
  114.  
  115. input[type=text], input[type=email], input[type=password] {
  116.     /*removed---    width: 330px;    ---*/  
  117.     height: 40px;
  118.     margin: 5px;
  119.     padding-left: 5px;
  120.     border: 1px solid #9a9a9a; /*added*/
  121. }
  122.  
  123. a {
  124.     color: white;
  125. }
  126.  
  127. #register-button {
  128.     width: 170px;
  129.     height: 40px;
  130.     color: #234465;
  131.     font-size: 1.2em;
  132.     border: 2px solid #234465;
  133.     margin-left: 174px;
  134.     margin-top: 10px;  /*changed from 5px*/
  135.     background-color: transparent; /*added*/  
  136.    
  137. }
  138.     #register-button:hover {
  139.         background-color: #234465;
  140.         color: white;
  141.         cursor: pointer;    /*added*/
  142.     }
  143.  
  144. #login-button {
  145.     position: inherit;
  146.     width: 150px;
  147.     height: 40px;
  148.     color: white;
  149.     font-size: 1.2em;
  150.     border: 2px solid #FF9C00;
  151.     background-color: transparent;  /*changed from #234465*/
  152.     margin-right: 5px;
  153. }
  154.     #login-button:hover {
  155.         color: #234465;
  156.         background-color: #FF9C00;
  157.         border: none;
  158.         cursor: pointer;    /*added*/
  159.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement