style.css 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. @charset 'utf-8';
  2. /* Font and background changes */
  3. h2 {
  4. color: #3BC1F6;
  5. font-family: Arial;
  6. font-size: 16pt;
  7. }
  8. body {
  9. background-color: #C0EDFF;
  10. }
  11. .redFont {
  12. color: red;
  13. }
  14. .uppercase {
  15. text-transform: uppercase;
  16. }
  17. #habitatsHeading {
  18. color: pink;
  19. }
  20. /* hyperlinks */
  21. a:link {
  22. /* Link is not clicked */
  23. text-decoration: none;
  24. }
  25. a:hover {
  26. /* mouse is hovering over the link */
  27. text-decoration: none;
  28. text-transform: uppercase;
  29. color: #FFFFFF;
  30. }
  31. a:visited {
  32. /* Link has already been clicked */
  33. text-decoration: none;
  34. }
  35. /* Layouting */
  36. nav, header, article {
  37. //border: 5px red solid;
  38. background-color: #5BCEFC;
  39. padding-top: 15px;
  40. /*margin-top: 50px; */
  41. padding-bottom: 15px;
  42. padding-left: 15px;
  43. /*text-align: center; */
  44. margin-left: 15%;
  45. margin-right: 15%;
  46. border-radius: 10px;
  47. margin-bottom: 5px;
  48. }
  49. /*
  50. Add header, article after then add margin-bottom: 5px;
  51. */
  52. nav {
  53. background-color: white;
  54. height: 30px;
  55. }
  56. aside {
  57. //border: 5px red solid;
  58. max-width: 20%;
  59. float: right;
  60. margin-right: 15%;
  61. padding-right: 10px;
  62. }
  63. /* ---- Buttons ----*/
  64. .button {
  65. border: 5px #3BC1F6 solid;
  66. width: 65px;
  67. text-align: center;
  68. padding-top: 3px;
  69. padding-bottom: 3px;
  70. padding-left: 5px;
  71. padding-right: 5px;
  72. background-color: #C0EDFF;
  73. border-radius: 10px;
  74. float: left;
  75. margin-right: 3px;
  76. }
  77. a:link .button {
  78. text-transform: uppercase;
  79. }
  80. a:visited .button {
  81. text-transform: uppercase;
  82. }
  83. a:hover .button {
  84. text-transform: uppercase;
  85. border-color: #C0EDFF;
  86. background-color: #3BC1F6;
  87. }
  88. /* ---- Center and Image ----
  89. Would center all images, use classes to center the images with that class like .center-image*/
  90. img {
  91. display: block;
  92. margin-left:auto;
  93. margin-right:auto;
  94. }