custom.css 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. /* Core Stuff */
  2. * {
  3. -webkit-box-sizing: border-box;
  4. -moz-box-sizing: border-box;
  5. box-sizing: border-box;
  6. }
  7. body {
  8. font-size: 1rem;
  9. line-height: 1.7;
  10. color: #606d6e;
  11. }
  12. h1,
  13. h2,
  14. h3,
  15. h4,
  16. h5,
  17. h6 {
  18. color: #454B4D;
  19. }
  20. a {
  21. color: #1F8CD6;
  22. text-decoration: none;
  23. }
  24. a:hover {
  25. color: #175E91;
  26. }
  27. pre {
  28. background: #F0F0F0;
  29. margin: 1rem 0;
  30. border-radius: 2px;
  31. }
  32. blockquote {
  33. border-left: 10px solid #eee;
  34. margin: 0;
  35. padding: 0 2rem;
  36. }
  37. /* Utility Classes */
  38. .wrapper {
  39. margin: 0 3rem;
  40. }
  41. .padding {
  42. padding: 3rem 1rem;
  43. }
  44. .left {
  45. float: left;
  46. }
  47. .right {
  48. float: right
  49. }
  50. .text-center {
  51. text-align: center;
  52. }
  53. .text-right {
  54. text-align: right;
  55. }
  56. .text-left {
  57. text-align: left;
  58. }
  59. /* Content Styling */
  60. .header .padding {
  61. padding: 1rem 0;
  62. }
  63. .header {
  64. background-color: #1F8DD6;
  65. color: #eee;
  66. }
  67. .header a {
  68. color: #fff;
  69. }
  70. .header .logo {
  71. font-size: 1.7rem;
  72. text-transform: uppercase;
  73. }
  74. .footer {
  75. background-color: #eee;
  76. }
  77. /* Menu Settings */
  78. .main-nav ul {
  79. text-align: center;
  80. letter-spacing: -1em;
  81. margin: 0;
  82. padding: 0;
  83. }
  84. .main-nav ul li {
  85. display: inline-block;
  86. letter-spacing: normal;
  87. }
  88. .main-nav ul li a {
  89. position: relative;
  90. display: block;
  91. line-height: 45px;
  92. color: #fff;
  93. padding: 0 20px;
  94. white-space: nowrap;
  95. }
  96. .main-nav > ul > li > a {
  97. border-radius: 2px;
  98. }
  99. /*Active dropdown nav item */
  100. .main-nav ul li:hover > a {
  101. background-color: #175E91;
  102. }
  103. /* Selected Dropdown nav item */
  104. .main-nav ul li.selected > a {
  105. background-color: #fff;
  106. color: #175E91;
  107. }
  108. /* Dropdown CSS */
  109. .main-nav ul li {position: relative;}
  110. .main-nav ul li ul {
  111. position: absolute;
  112. background-color: #1F8DD6;
  113. min-width: 100%;
  114. text-align: left;
  115. z-index: 999;
  116. display: none;
  117. }
  118. .main-nav ul li ul li {
  119. display: block;
  120. }
  121. /* Dropdown CSS */
  122. .main-nav ul li ul ul {
  123. left: 100%;
  124. top: 0;
  125. }
  126. /* Active on Hover */
  127. .main-nav li:hover > ul {
  128. display: block;
  129. }
  130. /* Child Indicator */
  131. .main-nav .has-children > a {
  132. padding-right: 30px;
  133. }
  134. .main-nav .has-children > a:after {
  135. font-family: FontAwesome;
  136. content: '\f107';
  137. position: absolute;
  138. display: inline-block;
  139. right: 8px;
  140. top: 0;
  141. }
  142. .main-nav .has-children .has-children > a:after {
  143. content: '\f105';
  144. }