Advertisement
Muharik

style.css

Oct 17th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.05 KB | None | 0 0
  1. html, body, div, span, applet, object, iframe,
  2. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code,
  4. del, dfn, em, img, ins, kbd, q, s, samp,
  5. small, strike, strong, sub, sup, tt, var,
  6. b, u, i, center,
  7. dl, dt, dd, ol, ul, li,
  8. fieldset, form, label, legend,
  9. table, caption, tbody, tfoot, thead, tr, th, td,
  10. article, aside, canvas, details, embed,
  11. figure, figcaption, footer, header, hgroup,
  12. menu, nav, output, ruby, section, summary,
  13. time, mark, audio, video {
  14.     margin: 0;
  15.     padding: 0;
  16.     border: 0;
  17.     font-size: 100%;
  18.     font: inherit;
  19.     vertical-align: baseline;
  20. }
  21. /* HTML5 display-role reset for older browsers */
  22. article, aside, details, figcaption, figure,
  23. footer, header, hgroup, menu, nav, section {
  24.     display: block;
  25. }
  26. body {
  27.     line-height: 1;
  28. }
  29. ol, ul {
  30.     list-style: none;
  31. }
  32. blockquote, q {
  33.     quotes: none;
  34. }
  35. blockquote:before, blockquote:after,
  36. q:before, q:after {
  37.     content: '';
  38.     content: none;
  39. }
  40. table {
  41.     border-collapse: collapse;
  42.     border-spacing: 0;
  43. }
  44.  
  45.  
  46. /* Suwit Jawa 2.0 */
  47.  
  48. body {
  49.     background-image: url(img/bg.png);
  50.     font-family: arial;
  51. }
  52. h1 {
  53.     font-size: 60px;
  54.     font-weight: bold;
  55.     text-align: center;
  56.     margin: 10px 0;
  57.     margin-top: 30px;
  58.     text-transform: uppercase;
  59.     color: #e7e7e7;
  60.     text-shadow: 1.5px 1.5px 0 #333, 0px 1.5px 0 #333, -1.5px -1.5px 0 #333, -1.5px -1.5px 0 #333, -1.5px 1.5px 0 #333, 1.5px -1.5px 0 #333, 0.7778174593px 0.7778174593px 0 #aaaaaa, 1.5556349186px 1.5556349186px 0 #aaaaaa, 2.3334523779px 2.3334523779px 0 #aaaaaa, 3.1112698372px 3.1112698372px 0 #aaaaaa, 3.8890872965px 3.8890872965px 0 #aaaaaa, 4.6669047558px 4.6669047558px 0 #aaaaaa, 5.4447222151px 5.4447222151px 0 #aaaaaa, 6.2225396744px 6.2225396744px 0 #aaaaaa, 7.0003571337px 7.0003571337px 0 #aaaaaa, 7.7781745931px 7.7781745931px 0 #aaaaaa;
  61. }
  62.  
  63. .container {
  64.     width: 600px;
  65.     margin: auto;
  66.     padding: 20px;
  67.     position: relative;
  68. }
  69.  
  70. .area-komputer {
  71.     width: 560px;
  72.     height: 250px;
  73.     margin: 5px auto;
  74.     background-color: lightblue;
  75.     background: linear-gradient(to bottom, rgba(179,220,237,1) 0%, rgba(41,184,229,1) 100%);
  76.     position: relative;
  77.     padding-top: 40px;
  78.     box-sizing: border-box;
  79.     border-radius: 40px 40px 0 0;
  80. }
  81.  
  82. .area-player {
  83.     width: 560px;
  84.     height: 250px;
  85.     margin: 5px auto;
  86.     background-color: lightgreen;
  87.     background: linear-gradient(to bottom, rgba(210,255,82,1) 0%, rgba(145,232,66,1) 100%);
  88.     position: relative;
  89.     border-radius: 0 0 40px 40px;
  90. }
  91.  
  92. .score-computer {
  93.     width: 70px;
  94.     height: 70px;
  95.     background-color: white;
  96.     border:5px solid salmon;
  97.     position: absolute;
  98.     border-radius: 50%;
  99.     left: 30px;
  100.     top: 30px;
  101.     z-index: 9999;
  102.     color: salmon;
  103.     font-size: 46px;
  104.     text-align: center;
  105.     line-height: 60px;
  106. }
  107.  
  108. .info {
  109.     width: 150px;
  110.     height: 60px;
  111.     border: 5px solid salmon;
  112.     position: absolute;
  113.     left: 50%;
  114.     margin-left: -75px;
  115.     top: 50%;
  116.     margin-top: -30px;
  117.     background-color: white;
  118.     border-radius: 30px;
  119.     z-index: 1;
  120.     text-align: center;
  121.     line-height: 60px;
  122.     color: #f89bb4;
  123.     font-size: 26px;
  124.     text-shadow: 1px 1px 1px rgba(0,0,0,.3);
  125. }
  126.  
  127. .score-player {
  128.     width: 70px;
  129.     height: 70px;
  130.     background-color: white;
  131.     border:5px solid salmon;
  132.     position: absolute;
  133.     border-radius: 50%;
  134.     right: 10px;
  135.     top: 10px;
  136.     z-index: 9999;
  137.     color: salmon;
  138.     font-size: 46px;
  139.     text-align: center;
  140.     line-height: 60px;
  141. }
  142.  
  143. ul {
  144.     padding-top: 80px;
  145.     padding-left: 25px;
  146. }
  147.  
  148. li {
  149.     display: inline-block;
  150.     margin: 0 18px;
  151. }
  152.  
  153. img {
  154.     width: 130px;
  155.     height: 130px;
  156.     display: block;
  157.     margin: auto;
  158.     border-radius: 50%;
  159. }
  160.  
  161. .gajah, .orang, .semut {
  162.     transition: .3s;
  163.     position: relative;
  164.     top:0;
  165.     cursor: pointer;
  166. }
  167.  
  168. .gajah:hover, .semut:hover, .orang:hover, .active {
  169.     box-shadow: 0 0 10px 5px limegreen;
  170. }
  171.  
  172. .gajah:active, .semut:active, .orang:active {
  173.     top: 2px;
  174. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement