Advertisement
ekookda

pr.css

Sep 19th, 2016
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 2.05 KB | None | 0 0
  1. /* ---------------------------|
  2. | @author: Eko Alfarisi     **|
  3. | instructure: Bpk. Putra:  **|
  4. | Course : WebHozz          **|
  5. |----------------------------*/
  6.  
  7. .wrapper {
  8.   margin: 20px;
  9. }
  10.  
  11. .clear {
  12.   clear: both;
  13. }
  14.  
  15. header {
  16.   width: 100%;
  17.   height: auto;
  18.   background-color: rgba(0, 255, 224, 0.67);
  19.   border-radius: 10px 10px 0 0;
  20. }
  21.  
  22. header > h1 {
  23.   margin-bottom: 5px;
  24.   padding: 30px 0;
  25.   font-family: monaco;
  26.   text-align: center;
  27.   text-transform: capitalize;
  28.   text-shadow: 2px 2px rgba(33, 33, 33, 0.38);
  29. }
  30. nav > ul > li {
  31.  
  32.   display: inline;
  33. }
  34.  
  35. nav {
  36.   width: 100%;
  37.   height: 50px;
  38.   margin-bottom: 5px;
  39.   background-color: rgba(0, 0, 0, 0.91);
  40. }
  41.  
  42. .navbar {
  43.   word-spacing: 20px;
  44.   text-align: center;
  45.   padding: 10px 0;
  46. }
  47.  
  48. article {
  49.   width: 69%;
  50.   background-color: rgba(0, 0, 0, 0.6);
  51.   float: left;
  52. }
  53.  
  54. article > img {
  55.   width: 98%;
  56.   height: 533px;
  57.   padding: 10px;
  58. }
  59.  
  60. aside {
  61.   width: 30%;
  62.   height: 557px;
  63.   background-color: rgba(0, 0, 0, 0.6);
  64.   float: right;
  65.   color: #ffffff;
  66. }
  67.  
  68. aside > h3 {
  69.   font-family: verdana;
  70.   text-align: center;
  71.   font-weight: normal;
  72. }
  73.  
  74. aside > ul > li {
  75.   padding-left: 10px;
  76.   line-height: 25px;
  77. }
  78.  
  79. main {
  80.   margin: 5px 0;
  81.   width: 100%;
  82. }
  83.  
  84. main  > section {
  85.   width: 30%;
  86.   height: auto;
  87.   margin: 10px 10px 0px;
  88.   padding: 10px 10px;
  89.   /* border: 1px solid grey; */
  90.   /* background-color: grey; */
  91.   float: left;
  92. }
  93.  
  94. main > section > p {
  95.   padding: 10px 10px;
  96. }
  97.  
  98. main > section > div > img {
  99.   width: 212px;
  100.   height: 212px;
  101. }
  102.  
  103. footer {
  104.   width: 100%;
  105.   height: auto;
  106.   background-color: rgba(0, 0, 0, 0.6); /* default: #0080ff */
  107.   border-radius: 0 0 10px 10px;
  108. }
  109.  
  110. footer > h4 {
  111.   padding: 30px 0;
  112.   font-family: monospace;
  113.   font-size: 16px;
  114.   color: #ffffff;
  115. }
  116.  
  117. .text-center {
  118.   text-align: center;
  119. }
  120.  
  121. .text-justify {
  122.   text-align: justify;
  123.   text-indent: 50px;
  124. }
  125.  
  126. a {
  127.   color: white;
  128.   font-family: monospace;
  129.   font-size: 20px;
  130. }
  131.  
  132. a:hover {
  133.   color: rgba(36, 54, 249, 0.9);
  134.   text-decoration-line: none;
  135. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement