LegoDrifter

Untitled

May 5th, 2020
275
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.70 KB | None | 0 0
  1.  
  2. body{
  3.     background-color: #f4f4f4;
  4.     color: #555555;
  5.  
  6.     font-family: Arial, Tahoma, sans-serif;
  7.     font-size: 12px;
  8.     font-weight: normal;
  9.  
  10.  
  11.  
  12.     line-height:1.6em;
  13.     margin: 0;
  14.  
  15. }
  16. a{
  17.     text-decoration: none;
  18.     color:#000;
  19. }
  20. a:hover{
  21.     color:red;
  22. }
  23. a:active{
  24.     color:green;
  25. }
  26.  
  27. .container{
  28.     width: 80%;
  29.     margin: auto;
  30. }
  31. .button{
  32.     background-color:darkblue;
  33.     color:white;
  34.     padding:10px 15px;
  35.     border:none;
  36. }
  37. .clr{
  38.     clear: both;
  39. }
  40. .box-1{
  41.     background-color: #333333;
  42.     color:#f4f4f4;
  43.  
  44.     border: 5px red solid;
  45.     border-width: 3px;
  46.  
  47.     padding: 20px;
  48.  
  49.     margin-top: 20px;
  50.     margin:20px 0;
  51. }
  52. .box-1 h1{
  53.     font-family:Tahoma;
  54.     font-weight:800;
  55.     font-style:italic;
  56.     text-decoration: underline;
  57.     text-transform:uppercase;
  58.     letter-spacing: 0.2em;
  59.     word-spacing:1em;
  60. }
  61. .box-2{
  62.     border:3px dotted #cccccc;
  63.     padding: 20px;
  64.     margin: 20px 0;
  65. }
  66. .categories{
  67.     border:1px #cccccc solid;
  68.     padding:10px;
  69.     border-radius:15px;
  70.  
  71. }
  72. .categories h2{
  73.     text-align: center;
  74. }
  75. .categories ul{
  76.     padding:0;
  77.     padding-left:20px;
  78.     list-style:square;
  79.     list-style:none;
  80. }
  81. .categories li{
  82.     padding-bottom: 6px;
  83.     border-bottom:dotted 1px #333333;
  84.     list-style-image:url("../images/check.png");
  85. }
  86. .my-form{
  87.     padding:20px;
  88. }
  89. .my-form.form-group{
  90.     padding-bottom:15px;
  91. }
  92. .my-form label{
  93.     display:block;
  94. }
  95. .my-form input[type="text"],.my-form textarea{
  96.     padding:8px;
  97.     width:100%;
  98. }
  99. .block{
  100.     float:left;
  101.     width:33.3%;
  102.     border:1px solid #ccc;
  103.     padding:10px;
  104.     box-sizing: border-box;
  105. }
  106. #main-block{
  107.     float:left;
  108.     width:70%;
  109.     background-color: green;
  110.     color: #f4f4f4;
  111.     padding:15px;
  112.     padding-bottom: 22px;
  113.     box-sizing: border-box;
  114. }
  115. #side-bar{
  116.     float:right;
  117.     width:30%;
  118.     background-color: #333333;
  119.     color:#f4f4f4;
  120.     padding:15px;
  121.     padding-bottom: 0px;
  122.     box-sizing: border-box;
  123.  
  124. }
  125. .p-box{
  126.     width:800px;
  127.     height:500px;
  128.     border:1px solid #000000;
  129.     margin-top: 30px;
  130.     position: relative;
  131.     background-image: url("../images/panorama.jpg");
  132.     background-repeat: no-repeat;
  133.     background-position: 100px 200px;
  134.     background-position: center center;
  135.  
  136.  
  137. }
  138. .p-box h1{
  139.     position: absolute;
  140.     top:100px;
  141.     left:200px;
  142. }
  143. .p-box h2{
  144.     position: absolute;
  145.     bottom: 40px;
  146.     right:100px
  147.  
  148. }
  149. .fix-me{
  150.     position: fixed;
  151.     top:400px;
  152. }
  153. .mylist li:first-child{
  154.     background:red;
  155. }
  156. .mylist li:last-child{
  157.     background: blue;
  158. }
  159. .mylist li:nth-child(5){
  160.     background: yellow;
  161. }
  162. .mylist li:nth-child(even){
  163.     background: grey;
  164. }
Add Comment
Please, Sign In to add comment