Guest User

Untitled

a guest
Oct 9th, 2014
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.15 KB | None | 0 0
  1. body {
  2.     background-image: url('colorful_dots_on_black.jpg');
  3.     background-repeat: repeat;
  4.     margin: 0;
  5. }
  6.  
  7. body>header {
  8.     text-align: center;
  9.     font-family: arial;
  10.     font-size: 38px;
  11.     font-weight: bold;
  12.     color: yellow;
  13.     background-color: blue;
  14.     height: 60px;
  15. }
  16.  
  17. nav {
  18.     background-color: white;
  19.     opacity: 0.9;
  20.     border-radius: 15px;
  21.     width: 180px;
  22.     margin-top: 25px;
  23.     margin-left: 10px;
  24.     padding-left: 10px;
  25.     padding-bottom: 1px;
  26.     padding-top: 15px;
  27. }
  28.  
  29. nav>header {
  30.     text-decoration: underline;
  31.     font-family: Arial;
  32.     height: 5px;
  33. }
  34.  
  35. ul {
  36.     list-style-image: url('green_checkmark.png');
  37.     padding-left: 25px;
  38. }
  39.  
  40. a {
  41.     text-decoration: none;
  42.     color: black;
  43. }
  44.  
  45. li {
  46.     font-size: 12px;
  47.     line-height: 25px;
  48. }
  49.  
  50. li:nth-child(6) {
  51.     opacity: 0.7;
  52. }
  53.  
  54. a:visited {
  55.     opacity: 0.7;
  56. }
  57.  
  58. article {
  59.     background-color: white;
  60.     border-radius: 15px;
  61.     opacity: 0.9;
  62.     margin-top: 10px;
  63.     margin-left: 230px;
  64.     margin-right: 30px;
  65.     padding-left: 10px;
  66.     padding-bottom: 1px;
  67.     padding-top: 15px;
  68. }
  69.  
  70. #webColors {
  71.     background-color: red;
  72.     border-radius: 10px;
  73.     margin-top: 0;
  74.     margin-left: 5px;
  75.     padding-left: 10px;
  76.     padding-bottom: 1px;
  77.     padding-top: 15px;
  78.     color: white;
  79.     font-size: 25px;
  80.     margin-right: 15px;
  81.  
  82. }
  83.  
  84. #webSafeColors {
  85.     background-color: orange;
  86.     border-radius: 10px;
  87.     margin-top: 0;
  88.     margin-left: 5px;
  89.     padding-left: 10px;
  90.     padding-bottom: 1px;
  91.     padding-top: 15px;
  92.     color: black;
  93.     font-size: 25px;
  94.     margin-right: 15px;
  95.  
  96. }
  97.  
  98. #RGB {
  99.     background-color: yellow;
  100.     border-radius: 10px;
  101.     margin-top: 0;
  102.     margin-left: 5px;
  103.     padding-left: 10px;
  104.     padding-bottom: 1px;
  105.     padding-top: 15px;
  106.     color: black;
  107.     font-size: 25px;
  108.     margin-right: 15px;
  109.  
  110. }
  111.  
  112. #RGBA {
  113.     background-color: green;
  114.     border-radius: 10px;
  115.     margin-top: 0;
  116.     margin-left: 5px;
  117.     padding-left: 10px;
  118.     padding-bottom: 1px;
  119.     padding-top: 15px;
  120.     color: white;
  121.     font-size: 25px;
  122.     margin-right: 15px;
  123.  
  124. }
  125.  
  126. #HSLHSV {
  127.     background-color: blue;
  128.     border-radius: 10px;
  129.     margin-top: 0;
  130.     margin-left: 5px;
  131.     padding-left: 10px;
  132.     padding-bottom: 1px;
  133.     padding-top: 15px;
  134.     color: white;
  135.     font-size: 25px;
  136.     margin-right: 15px;
  137.    
  138. }
  139.  
  140. #lorem {
  141.     background-color: purple;
  142.     border-radius: 10px;
  143.     margin-top: 0;
  144.     margin-left: 0px;
  145.     margin-right: 15px;
  146.     padding-left: 10px;
  147.     padding-bottom: 1px;
  148.     padding-top: 15px;
  149.     color: white;
  150.     font-size: 25px;
  151. }
  152.  
  153. div {
  154.     margin-left: 5px;
  155.     margin-top: 10px;
  156. }
  157.  
  158. footer {
  159.     margin-bottom: 10px;
  160.     margin-left: 5px;
  161.     margin-top: 3px;
  162. }
  163.  
  164. footer>a {
  165.     text-decoration: underline;
  166.     color: grey;
  167.     font-style: italic;
  168. }
  169.  
  170. article:nth-child(6) {
  171.     padding-left: 15px;
  172. }
  173.  
  174. section {
  175.     margin-bottom: 20px;
  176.     margin-top: -214px;
  177. }
  178.  
  179. li:nth-child(1):hover {
  180.     margin-left: -27px;
  181.     margin-right: 10px;
  182.     padding-left: 7px;
  183.     background: red;
  184.     border-radius: 10px;   
  185.     list-style-position: inside;
  186. }
  187.  
  188. li:nth-child(2):hover {
  189.     margin-left: -27px;
  190.     margin-right: 10px;
  191.     padding-left: 7px;
  192.     background: orange;
  193.     border-radius: 10px;   
  194.     list-style-position: inside;
  195. }
  196.  
  197. li:nth-child(3):hover {
  198.     margin-left: -27px;
  199.     margin-right: 10px;
  200.     padding-left: 7px;
  201.     background: yellow;
  202.     border-radius: 10px;   
  203.     list-style-position: inside;
  204. }
  205.  
  206. li:nth-child(4):hover {
  207.     margin-left: -27px;
  208.     margin-right: 10px;
  209.     padding-left: 7px;
  210.     background: green;
  211.     border-radius: 10px;   
  212.     list-style-position: inside;
  213. }
  214.  
  215. li:nth-child(5):hover {
  216.     margin-left: -27px;
  217.     margin-right: 10px;
  218.     padding-left: 7px;
  219.     background: blue;
  220.     border-radius: 10px;   
  221.     list-style-position: inside;
  222. }
  223.  
  224. li:nth-child(6):hover {
  225.     margin-left: -27px;
  226.     margin-right: 10px;
  227.     padding-left: 7px;
  228.     background: purple;
  229.     border-radius: 10px;   
  230.     list-style-position: inside;
  231. }
  232.  
  233. span:lang(la) {
  234.     font-style: italic;
  235.     color: blue;
  236. }
  237.  
  238. span:lang(la):after, span:lang(la):before {
  239.     content: "\"";
  240. }
  241.  
  242. body > header:nth-child(1) {
  243.     width: 100%;
  244.     text-align: center;
  245.     color: yellow;
  246.     font-weight: bold;
  247.     font-size: 2em;
  248.     height: 40px;
  249.     background: linear-gradient(
  250.     to right,
  251.     red,
  252.     red 33.3%,
  253.     green 33.3%,
  254.     green 67.7%,
  255.     blue 67.7%);   
  256. }
  257.  
  258. section article div::first-letter {
  259.     font-size: 3em;
  260. }
  261.  
  262. section article div::first-line {  
  263.     font-style: italic;
  264. }
Advertisement
Add Comment
Please, Sign In to add comment