_pages.scss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  1. /*----------------------------------------------------------------
  2. [Table of contents]
  3. 0.General
  4. 1.Home
  5. 2.Schools
  6. 3.Courses
  7. 4.Course
  8. 5.Notes
  9. ----------------------------------------------------------------*/
  10. /* 0.`General
  11. ---------------------------------------------- */
  12. #messages {
  13. @extend .grid-8;
  14. padding: $base/2;
  15. }
  16. /* 1.`Home
  17. ---------------------------------------------- */
  18. #pg_home {
  19. .subheader {
  20. text-align: center;
  21. padding: $base*2 0;
  22. border: 0;
  23. background: none;
  24. }
  25. h1 {
  26. @extend .futura;
  27. }
  28. .section-home {
  29. margin-bottom: $base;
  30. }
  31. }
  32. #intro-video {
  33. @extend .grid-4;
  34. }
  35. #intro-text {
  36. @extend .grid-4;
  37. }
  38. #intro-schools {
  39. @extend .grid-8;
  40. h4 {
  41. }
  42. li {
  43. @include inline-block;
  44. position: relative;
  45. padding: $base/4 0;
  46. padding-right: $base/2;
  47. @extend .small;
  48. &:after {
  49. content: "";
  50. position: absolute;
  51. right: 3px;
  52. top: 50%;
  53. width: 3px;
  54. height: 2px;
  55. background-color: #999;
  56. }
  57. }
  58. }
  59. /* 2.`Schools
  60. ---------------------------------------------- */
  61. #schools {
  62. li {
  63. @extend .group;
  64. }
  65. a {
  66. display: block;
  67. float: left;
  68. clear: both;
  69. padding: $base/4;
  70. &:hover {
  71. .school_name {
  72. color: $mustard;
  73. }
  74. .number_of_courses, .number_of_notes {
  75. color: #444;
  76. }
  77. }
  78. span {
  79. @include transition( color );
  80. }
  81. }
  82. .icon-pair, .text-pair {
  83. @include inline-block;
  84. }
  85. .icon-pair {
  86. margin-right: $base/2;
  87. }
  88. .school_name {
  89. @extend .large;
  90. color: #333;
  91. }
  92. .number_of_courses, .number_of_notes {
  93. @extend .futura-oblique;
  94. color: #999;
  95. }
  96. }
  97. /* 3.`Courses
  98. ---------------------------------------------- */
  99. #pg_courses {
  100. .main-content {
  101. @extend .grid-5;
  102. }
  103. .course {
  104. position: relative;
  105. clear: both;
  106. margin-bottom: $base/2;
  107. .course-name {
  108. display: block;
  109. margin-bottom: $base/4;
  110. @extend .plump;
  111. text-transform: capitalize;
  112. color: #000;
  113. &:hover {
  114. color: $mustard;
  115. }
  116. }
  117. .course-description {
  118. color: #777;
  119. }
  120. .course-content {
  121. padding-bottom: $base;
  122. margin-left: 60px;
  123. @include dotted-x( bottom );
  124. }
  125. .course-data {
  126. position: absolute;
  127. top: 0;
  128. color: #bfbfbf;
  129. }
  130. .course-data-item {
  131. margin-bottom: $base/6;
  132. text-align: center;
  133. }
  134. .course-data-number {
  135. @extend .fat;
  136. @extend .futura-oblique;
  137. }
  138. .course-data-description {
  139. margin-top: $base/-3;
  140. }
  141. }
  142. }
  143. /* 4.`Course
  144. ---------------------------------------------- */
  145. #pg_lectures {
  146. .main-content {
  147. @extend .grid-5;
  148. }
  149. .lecture {
  150. padding-bottom: $base;
  151. margin-bottom: $base/2;
  152. @include dotted-x( bottom );
  153. }
  154. .lecture-name {
  155. display: block;
  156. margin-bottom: $base/4;
  157. @extend .big;
  158. color: #000;
  159. @include transition( color );
  160. &:hover {
  161. color: $mustard;
  162. }
  163. }
  164. }
  165. /* 5.`Notes
  166. ---------------------------------------------- */
  167. #pg_notes {
  168. .main-content {
  169. @extend .grid-5;
  170. }
  171. }