screen.css 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765
  1. /*
  2. Title: Master styles for screen media
  3. Author: Jordan Cooperman, jordan@vectormediagroup.com
  4. Year: 2011
  5. Welcome, thou wanderer of the interwebs!
  6. If you have any questions, Don't be shy. Send me a line!
  7. ================================================================
  8. ----------------------------------------------------------------
  9. [Table of contents]
  10. 0.General
  11. 1.Layout
  12. 2.Navigation
  13. 3.Header
  14. 4.Footer
  15. 5.Pages
  16. i.
  17. 6.Modules
  18. 7.Forms
  19. 8.Sprites
  20. *.User Defined
  21. ----------------------------------------------------------------*/
  22. /* positioning */
  23. /* sprites */
  24. /* borders made from backgrounds */
  25. /* triangles */
  26. /* css3 */
  27. /* grid container
  28. ============================================== */
  29. .container-12 {
  30. width: 960px;
  31. margin: 0 auto;
  32. position: relative; }
  33. .container-12:after {
  34. content: ".";
  35. display: block;
  36. height: 0;
  37. clear: both;
  38. visibility: hidden; }
  39. /* grid divisions
  40. ============================================== */
  41. .grid-1,
  42. .grid-2,
  43. .grid-3,
  44. .grid-4,
  45. .grid-5,
  46. .grid-6,
  47. .grid-7,
  48. .grid-8,
  49. .grid-9,
  50. .grid-10,
  51. .grid-11,
  52. .grid-12 {
  53. margin: 5px 5px;
  54. padding: 0;
  55. display: inline;
  56. float: left; }
  57. .grid-1 {
  58. width: 7.292%; }
  59. .grid-2 {
  60. width: 15.625%; }
  61. .grid-3 {
  62. width: 23.958%; }
  63. .grid-4 {
  64. width: 32.292%; }
  65. .grid-5 {
  66. width: 40.625%; }
  67. .grid-6 {
  68. width: 48.958%; }
  69. .grid-7 {
  70. width: 57.292%; }
  71. .grid-8 {
  72. width: 65.625%; }
  73. .grid-9 {
  74. width: 73.958%; }
  75. .grid-10 {
  76. width: 82.292%; }
  77. .grid-11 {
  78. width: 90.625%; }
  79. .grid-12 {
  80. width: 98.958%; }
  81. .from-left-1 {
  82. margin-left: 70px; }
  83. .from-left-2 {
  84. margin-left: 150px; }
  85. .from-left-3 {
  86. margin-left: 230px; }
  87. .from-left-4 {
  88. margin-left: 310px; }
  89. .from-left-5 {
  90. margin-left: 390px; }
  91. .from-left-6 {
  92. margin-left: 470px; }
  93. .from-left-7 {
  94. margin-left: 550px; }
  95. .from-left-8 {
  96. margin-left: 630px; }
  97. .from-left-9 {
  98. margin-left: 710px; }
  99. .from-left-10 {
  100. margin-left: 790px; }
  101. .from-left-11 {
  102. margin-left: 870px; }
  103. .from-left-12 {
  104. margin-left: 950px; }
  105. .grid-centered {
  106. display: block;
  107. float: none;
  108. margin: 0 auto; }
  109. * {
  110. font-family: "Verdana", "Helvetica Neue", "Arial", "Sans-serif"; }
  111. body {
  112. /* 16px / 24px */
  113. font-size: 1em;
  114. line-height: 1.5em; }
  115. .small {
  116. /* 13px / 18px */
  117. font-size: 0.813em;
  118. line-height: 1.385em; }
  119. .normal, h3 {
  120. /* 16px / 24px */
  121. font-size: 1em;
  122. line-height: 1.5em;
  123. /* 24 */ }
  124. .normal-large {
  125. /* 18 / 30 */
  126. font-size: 1.125em;
  127. line-height: 1.667em; }
  128. .large, h2, h1 {
  129. /* 26 / 36px */
  130. font-size: 1.625em;
  131. line-height: 1.385em; }
  132. .large-huge {
  133. /* 30 / 42px */
  134. font-size: 1.875em;
  135. line-height: 1.4em; }
  136. .large-huge.spaced {
  137. line-height: 2.4em; }
  138. .huge {
  139. /* 42px / 48px */
  140. font-size: 2.625em;
  141. line-height: 1.143em; }
  142. .massive {
  143. /* 68px / 72px */
  144. font-size: 4.25em;
  145. line-height: 0.988em; }
  146. .gigantic {
  147. /* 110px / 120px */
  148. font-size: 6.875em;
  149. line-height: 1.091em; }
  150. p {
  151. font-size: 1.125em;
  152. /* 18 / 16 */
  153. font-family: "minion-pro"; }
  154. p .drop-cap {
  155. font-size: 2em;
  156. /* 24 / 12 */ }
  157. h1, h2, h3, h4, h5, h6 {
  158. font-family: "museo-slab";
  159. font-weight: 700;
  160. margin: 0; }
  161. h1 .small {
  162. font-size: 0.66666666666667em;
  163. /* 20 / 30 */
  164. font-family: "museo-sans";
  165. font-weight: 300; }
  166. #user-nav li {
  167. font-family: "museo-sans";
  168. font-weight: 500;
  169. font-style: italic; }
  170. #user-nav a {
  171. font-family: "museo-sans";
  172. font-weight: 500;
  173. font-style: normal; }
  174. #main-nav a {
  175. font-family: "museo-slab";
  176. font-weight: 700; }
  177. button,
  178. #footer-nav a {
  179. font-family: "museo-sans";
  180. font-weight: 500; }
  181. /*
  182. * media queries included
  183. * at end of document
  184. */
  185. /* 0.`general
  186. ============================================== */
  187. ::-moz-selection {
  188. background: #44a1dd;
  189. color: #fff;
  190. text-shadow: none; }
  191. ::selection {
  192. background: #44a1dd;
  193. color: #fff;
  194. text-shadow: none; }
  195. hr.stripes {
  196. margin: 0;
  197. height: 16px;
  198. clear: both;
  199. border-top: 1px solid #e5e5e5;
  200. border-bottom: 1px solid #fff;
  201. background-image: url("../img/bg-stripes.png");
  202. background-repeat: repeat;
  203. background-color: #fff; }
  204. hr.spacer {
  205. padding: 0;
  206. margin: 10px 0 30px 0; }
  207. hr.heading {
  208. margin-bottom: 16px; }
  209. hr.bordered {
  210. border-bottom: 2px solid #f2b83b; }
  211. button {
  212. -moz-border-radius: 5px;
  213. border-radius: 5px;
  214. padding: 8px 24px;
  215. border: 0;
  216. background-image: url("../img/button-bg.png");
  217. background-repeat: repeat-x;
  218. background-position: left bottom; }
  219. button.blue {
  220. background-color: #367da9;
  221. border: 1px solid #16567e;
  222. color: #fff; }
  223. button.green {
  224. background-color: #78b343;
  225. border: 1px solid #4f901b;
  226. color: #fff; }
  227. button.three-dim.blue {
  228. -moz-box-shadow: 2px 2px 0 #16567e;
  229. -webkit-box-shadow: 2px 2px 0 #16567e;
  230. box-shadow: 2px 2px 0 #16567e; }
  231. button.three-dim.green {
  232. -moz-box-shadow: 2px 2px 0 #4f901b;
  233. -webkit-box-shadow: 2px 2px 0 #4f901b;
  234. box-shadow: 2px 2px 0 #4f901b; }
  235. h3.heading {
  236. margin-bottom: 16px;
  237. padding-left: 12px; }
  238. em {
  239. font-family: "Georgia", "serif"; }
  240. /* 1.`layout
  241. ============================================== */
  242. html,
  243. body {
  244. height: 100%;
  245. margin: 0; }
  246. body {
  247. background-image: url("../img/bg-black-noise.gif");
  248. background-repeat: repeat; }
  249. .header {
  250. -moz-box-shadow: 0 1px 1px #888888;
  251. -webkit-box-shadow: 0 1px 1px #888888;
  252. box-shadow: 0 1px 1px #888888;
  253. border-top: 1px solid #f2b83b;
  254. position: relative;
  255. z-index: 10;
  256. border-bottom: 2px solid #333; }
  257. .header .container-12 > div {
  258. margin-top: 0;
  259. margin-bottom: 0; }
  260. .content {
  261. background-color: #fff;
  262. padding: 1em 3%;
  263. min-height: 25em; }
  264. /* 2.`navigation
  265. ============================================== */
  266. #user-nav {
  267. border-bottom-left-radius: 5px;
  268. -moz-border-radius-bottomleft: 5px;
  269. -webkit-border-bottom-left-radius: 5px;
  270. border-bottom-right-radius: 5px;
  271. -moz-border-radius-bottomright: 5px;
  272. -webkit-border-bottom-right-radius: 5px;
  273. float: right;
  274. background-color: #f2b83b; }
  275. #user-nav li {
  276. display: inline-block;
  277. vertical-align: middle;
  278. float: none;
  279. padding: 3px 12px;
  280. color: #fff; }
  281. #user-nav li a {
  282. display: block;
  283. color: #fff; }
  284. #main-nav {
  285. clear: both; }
  286. #main-nav:after {
  287. content: ".";
  288. display: block;
  289. height: 0;
  290. clear: both;
  291. visibility: hidden; }
  292. #main-nav ul {
  293. float: right; }
  294. #main-nav li {
  295. display: inline-block;
  296. vertical-align: middle;
  297. float: none; }
  298. #main-nav li a {
  299. -webkit-transition: color 0.25s ease-in-out;
  300. -moz-transition: color 0.25s ease-in-out;
  301. -o-transition: color 0.25s ease-in-out;
  302. -ms-transition: color 0.25s ease-in-out;
  303. transition: color 0.25s ease-in-out;
  304. display: block;
  305. padding: 10px;
  306. padding-left: 20px;
  307. text-transform: uppercase;
  308. color: #aaa; }
  309. #main-nav li a.active {
  310. position: relative;
  311. color: #fff; }
  312. #main-nav li a.active em {
  313. position: absolute;
  314. left: 0;
  315. top: 50%;
  316. margin-top: -8px;
  317. background-position: 0 0;
  318. width: 14px;
  319. height: 14px;
  320. background-repeat: no-repeat; }
  321. #main-nav li a em {
  322. text-transform: none; }
  323. #main-nav li a:hover {
  324. color: #eee; }
  325. /* 3.`header
  326. ============================================== */
  327. #logo {
  328. float: left;
  329. padding: 5px;
  330. margin-left: 10px;
  331. margin-top: 5px; }
  332. #header {
  333. margin-top: 20px; }
  334. .highlight {
  335. background-image: url("../img/logo-bg.png");
  336. background-position: left bottom;
  337. background-repeat: no-repeat; }
  338. /* 4.`footer
  339. ============================================== */
  340. .footer {
  341. color: #444;
  342. padding-top: 24px; }
  343. .footer #footer-nav {
  344. float: right;
  345. margin-right: -16px; }
  346. .footer #footer-nav li {
  347. display: inline-block;
  348. *display: inline; }
  349. .footer #footer-nav a {
  350. -webkit-transition: color 0.25s ease-in-out;
  351. -moz-transition: color 0.25s ease-in-out;
  352. -o-transition: color 0.25s ease-in-out;
  353. -ms-transition: color 0.25s ease-in-out;
  354. transition: color 0.25s ease-in-out;
  355. padding: 5px 16px;
  356. color: #999; }
  357. .footer #footer-nav a:hover {
  358. color: #fff; }
  359. .footer p {
  360. float: right;
  361. clear: both;
  362. margin-top: 24px; }
  363. .footer .creative_commons {
  364. float: right;
  365. clear: both; }
  366. .footer .creative_commons .section {
  367. clear: both;
  368. float: right; }
  369. .footer .creative_commons a {
  370. color: #777; }
  371. /* 6.`modules
  372. ============================================== */
  373. .padded-loose {
  374. padding: 10px;
  375. padding-top: 0;
  376. padding-bottom: 0; }
  377. .button-set.vertical button {
  378. margin-bottom: 16px; }
  379. .button-set.half-width-buttons button {
  380. width: 48%; }
  381. .button-set.centered {
  382. text-align: center; }
  383. .video-wrapper {
  384. -moz-border-radius: 5px;
  385. border-radius: 5px;
  386. padding: 5px;
  387. background-color: #f5f5f5;
  388. text-align: center; }
  389. .schools ul:after {
  390. content: ".";
  391. display: block;
  392. height: 0;
  393. clear: both;
  394. visibility: hidden; }
  395. .schools li {
  396. float: left;
  397. width: 25%;
  398. height: 100px; }
  399. .schools em {
  400. margin: 0 auto; }
  401. /* 8.`sprites
  402. ============================================== */
  403. .icon,
  404. .sprite,
  405. .sprite-school {
  406. text-indent: -9999px;
  407. line-height: 0;
  408. font-size: 0;
  409. overflow: hidden;
  410. display: block; }
  411. .sprite {
  412. background-image: url("../img/finalsclub-sprite-images.png"); }
  413. .icon {
  414. background-image: url("../img/finalsclub-sprite-icons.png"); }
  415. .sprite-school {
  416. background-image: url("../img/finalsclub-sprite-schools.gif"); }
  417. .brown {
  418. background-position: 0 0;
  419. width: 61px;
  420. height: 72px; }
  421. .columbia {
  422. background-position: -62px 0;
  423. width: 81px;
  424. height: 61px; }
  425. .cornell {
  426. background-position: -144px 0;
  427. width: 71px;
  428. height: 72px; }
  429. .dartmouth {
  430. background-position: -216px 0;
  431. width: 56px;
  432. height: 71px; }
  433. .shield {
  434. background-position: -273px 0;
  435. width: 59px;
  436. height: 60px; }
  437. .mit {
  438. background-position: -333px 0;
  439. width: 79px;
  440. height: 41px; }
  441. .lock_haven {
  442. background-position: -413px 0;
  443. width: 61px;
  444. height: 68px; }
  445. .cal {
  446. background-position: -475px 0;
  447. width: 91px;
  448. height: 72px; }
  449. .texas {
  450. background-position: -567px 0;
  451. width: 54px;
  452. height: 68px; }
  453. .yale {
  454. background-position: -622px 0;
  455. width: 51px;
  456. height: 50px; }
  457. .penn {
  458. background-position: -674px 0;
  459. width: 115px;
  460. height: 65px; }
  461. .harvard {
  462. background-position: -790px 0;
  463. width: 67px;
  464. height: 65px; }
  465. /* media queries */
  466. /* media queries
  467. ============================================== */
  468. /* *.`user defined
  469. ============================================== */
  470. .right {
  471. float: right !important; }
  472. .no-top-margin {
  473. margin-top: 0; }
  474. .spacer {
  475. padding-top: 16px;
  476. padding-bottom: 32px; }
  477. .yellow {
  478. color: #f2b83b; }
  479. .half-width {
  480. width: 50%; }
  481. .centered {
  482. text-align: center; }
  483. .centered-rt-parent {
  484. margin: 0 auto; }
  485. #messages {
  486. text-align: center;
  487. background: #adf;
  488. color: black;
  489. font-weight: bold;
  490. padding: 0.5em 0;
  491. }
  492. div.school {
  493. cursor: pointer; cursor: hand;
  494. margin: 1%;
  495. padding: 2%;
  496. border: solid 1px #888;
  497. -moz-border-radius: 0.20em;
  498. -webkit-border-radius: 0.20em;
  499. -webkit-box-shadow: 0 0.2em 0.3em rgba(0, 0, 0, .1);
  500. -moz-box-shadow: 0 0.2em 0.3em rgba(0, 0, 0, .1);
  501. /*
  502. */
  503. }
  504. div.school div.name {
  505. font-weight: bold;
  506. font-size: 120%;
  507. margin: 0 0;
  508. }
  509. div.school div.desc {
  510. font-size: 90%;
  511. color: #888;
  512. font-style: italic;
  513. margin: 0 0;
  514. }
  515. div.course {
  516. margin: 1em 0;
  517. }
  518. div.press {
  519. margin: 2em 0;
  520. }
  521. img.press {
  522. height: 2.5em;
  523. float: left;
  524. zborder: solid 1px #aaa;
  525. margin: 0 2em 1em 0;
  526. }
  527. div.press p.date {
  528. font-size: 90%;
  529. color: #68a;
  530. }
  531. div.press p.readmore {
  532. font-size: 90%;
  533. font-style: italic;
  534. }
  535. div.press p.readmore a {
  536. color: #48c;
  537. }
  538. div.conduct { text-align: center; }
  539. div.conduct p.academic {
  540. padding: 2em 0;
  541. }
  542. div.conduct img {
  543. display: inline;
  544. padding: 20px;
  545. border: solid 1px #888;
  546. background: -webkit-gradient(linear, left top, left bottom, from(#fdfdfd), to(#f8f8f8));
  547. background: -moz-linear-gradient(top, #fdfdfd, #f8f8f8);
  548. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcff', endColorstr='#f4f4ff');
  549. -webkit-border-radius: .2em;
  550. -moz-border-radius: .2em;
  551. border-radius: .2em;
  552. -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.5);
  553. -moz-box-shadow: 0 1px 2px rgba(0,0,0,.5);
  554. box-shadow: 0 1px 2px rgba(0,0,0,.5);
  555. }
  556. div.conduct p.vague {
  557. font-style: italic;
  558. font-size: 80%;
  559. color: #888;
  560. }
  561. .row {
  562. display: table-row;
  563. }
  564. .row .label {
  565. width: 50%;
  566. text-align: right;
  567. display: table-cell;
  568. padding: 0.8em 3% 0.8em 0%;
  569. white-space: nowrap;
  570. font-weight: bold;
  571. }
  572. .row .field {
  573. width: 300px;
  574. display: table-cell;
  575. padding: 0.2em 0;
  576. }
  577. .row .field input {
  578. width: 90%;
  579. }
  580. div.content h1 {
  581. color: #000;
  582. text-align: left;
  583. font-weight: bold;
  584. font-family: Georgia, Helvetica;
  585. }
  586. .content h1 {
  587. border-bottom: 2px solid #5c6572;
  588. zbackground: transparent url("/images/bg_main-heading.gif") 0 100% repeat-x;
  589. font-family: Georgia, helvetica;
  590. font-weight: normal;
  591. font-size: 140%;
  592. padding: 0.2em 0;
  593. margin-bottom: 1em;
  594. }
  595. .note, .notes_instructor, .notes_head {
  596. margin: 1.0em 0;
  597. }
  598. .notes_head {
  599. font-weight: bold;
  600. }
  601. .notes_instructor, .notes_head {
  602. color: #888;
  603. }
  604. .notes_instructor {
  605. padding-bottom: 1.0em;
  606. border-bottom: solid 1px #aaa;
  607. }
  608. .note .name {
  609. font-size: 110%;
  610. }
  611. .note .visits {
  612. font-style: italic;
  613. color: #aaa;
  614. }
  615. .lecture, .lectures_instructor, .lectures_head {
  616. margin: 1.0em 0;
  617. }
  618. .lectures_head {
  619. font-weight: bold;
  620. }
  621. .lectures_instructor, .lectures_head {
  622. color: #888;
  623. }
  624. .lectures_instructor {
  625. padding-bottom: 1.0em;
  626. border-bottom: solid 1px #aaa;
  627. }
  628. .lecture .name {
  629. font-size: 110%;
  630. }
  631. .lecture .created {
  632. font-style: italic;
  633. color: #aaa;
  634. }
  635. .lecture {
  636. margin: 0.5em 0;
  637. padding: 0.5em 1em;
  638. border: solid 1px #888;
  639. -moz-border-radius: 0.20em;
  640. -webkit-border-radius: 0.20em;
  641. }