almanac_style.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954
  1. body {
  2. background: darkgrey;
  3. font: normal 14px/18px Arial, Helvetica, sans-serif;
  4. margin: 0;
  5. padding: 0;
  6. color: #FFFFFF;
  7. width: 100%;
  8. overflow-x: hidden;
  9. overflow-y: auto;
  10. }
  11. html {
  12. overflow-x: hidden;
  13. overflow-y: auto;
  14. }
  15. ul li {
  16. text-align: left;
  17. }
  18. html {
  19. width: 100%;
  20. }
  21. input {
  22. height: 25px;
  23. border: 1px solid white;
  24. }
  25. a:link {
  26. color: #FF0000;
  27. }
  28. a:visited {
  29. color: #FF0000;
  30. }
  31. a:active {
  32. color: #FF0000;
  33. }
  34. img {
  35. border: none;
  36. padding: 0;
  37. margin: 0;
  38. }
  39. select {
  40. /*height: 20px;*/
  41. background-color: lightslategrey;
  42. color: white;
  43. border-radius: 2px;
  44. }
  45. input {
  46. border: 1px solid black;
  47. border-radius: 2px;
  48. text-indent: 5px;
  49. }
  50. a {
  51. color: #660066;
  52. text-decoration: none;
  53. }
  54. a:hover {
  55. color: #000000;
  56. text-decoration: underline;
  57. }
  58. h1 {
  59. font: bold italic 1.3em Georgia, "Times New Roman", Times, serif;
  60. color: #333333;
  61. padding: 0;
  62. margin: 0;
  63. }
  64. h2 {
  65. font: italic 1.3em Georgia, "Times New Roman", Times, serif;
  66. color: #660066;
  67. }
  68. h3 {
  69. font: bold 1.1em Arial, Helvetica, sans-serif;
  70. display: inline;
  71. color: #333;
  72. background-color: transparent;
  73. }
  74. span {
  75. display:inline-block; margin-top: 5%;
  76. }
  77. span label {
  78. display:block
  79. }
  80. textarea {
  81. resize: none;
  82. }
  83. label {
  84. font: bold 13px/13px Arial, Helvetica, sans-serif;
  85. }
  86. /* MAJOR IDs used for layout */
  87. #header {
  88. background-image: url("http://media.skyandtelescope.com/designimages/hMain_back2.jpg");
  89. /*width: 972px;*/
  90. }
  91. #wrapper {
  92. clear: both;
  93. }
  94. #nav a:hover {
  95. color: #CCCCCC;
  96. text-decoration: underline;
  97. }
  98. #hMags img {
  99. border: solid 1px white;
  100. }
  101. #hMags .cWrap {
  102. border: none;
  103. background-color: #000000;
  104. }
  105. #hMags .smLinks a {
  106. color: #FFFFFF;
  107. /*padding: 0 3px;*/
  108. }
  109. #hSearch {
  110. /*padding: 3px 10px;*/
  111. background-color: #FFFFFF;
  112. color: #660066;
  113. }
  114. #hSearch form {
  115. margin: 0;
  116. padding: 0;
  117. font-weight: bold;
  118. font-size: 14px;
  119. line-height: 12px;
  120. }
  121. #hProfile {
  122. /*padding: 8px 0 0 8px;*/
  123. color: #FFFFFF;
  124. }
  125. #hProfile form, input, textarea, select, option {
  126. margin: 0;
  127. padding: 0;
  128. font-size: 13px;
  129. }
  130. #hProfile h1 {
  131. margin: 0;
  132. padding: 0;
  133. /*padding-bottom: 3px;*/
  134. color: #FFFFFF;
  135. font: bold 15px/10px Arial, Helvetica, sans-serif;
  136. text-transform: capitalize;
  137. }
  138. #hProfile a {
  139. color: #FFFFFF;
  140. }
  141. #hProfile a:hover {
  142. color: black;
  143. }
  144. #hAlmanac img {
  145. /*padding-bottom: 5px;*/
  146. margin: 0;
  147. }
  148. #hAlmanac_alt {
  149. /*width: 728px;*/
  150. /*height: 24px;*/
  151. /*padding-top: 5px;*/
  152. background-color: black;
  153. color: #FFFFFF;
  154. font: bold italic 18px Georgia, serif;
  155. text-align: left;
  156. text-transform: none;
  157. }
  158. #hAlmanac_alt h1 {
  159. display: inline;
  160. color: #FFFFFF;
  161. /*padding: 0 5px;*/
  162. margin: 0;
  163. font: bold 15px Arial, sans;
  164. text-transform: capitalize;
  165. }
  166. #hAdvert img {
  167. padding: 0;
  168. margin: 0;
  169. }
  170. /* -- ids and classes within content */
  171. .comment {
  172. border: solid 1px #5274AE;
  173. background-color: #F6F6ED;
  174. /*padding: 5px;*/
  175. /*margin-right: 117px;*/
  176. /*margin-bottom: 5px;*/
  177. }
  178. #cLeft {
  179. /*width: 567px;*/
  180. }
  181. #cRight {
  182. }
  183. .smDate {
  184. color: #5274AE;
  185. font: bold 12px/13px Arial, Helvetica, sans-serif;
  186. text-transform: capitalize;
  187. }
  188. .smHeader {
  189. font: bold 15px/13px Arial, Helvetica, sans-serif;
  190. text-align: left;
  191. color: #000000;
  192. }
  193. .smByline {
  194. font: bold 13px/13px Arial, Helvetica, sans-serif;
  195. text-transform: capitalize;
  196. text-align: right;
  197. background-color: black;
  198. color: #FFFFFF;
  199. padding-right: 3px;
  200. margin: 0 0 5px 0;
  201. }
  202. .smLinks {
  203. clear: left;
  204. /*padding-top: 7px;*/
  205. color: #359;
  206. font: bold 12px/11px Arial, Helvetica, sans-serif;
  207. text-transform: capitalize;
  208. }
  209. .smLinks a {
  210. /*padding-right: 8px;*/
  211. color: #359;
  212. }
  213. .smLinks a:hover {
  214. color: #000000;
  215. }
  216. .crumbs {
  217. clear: none;
  218. /*margin-bottom: 15px;*/
  219. font: bold 12px/11px Arial, Helvetica, sans-serif;
  220. text-transform: capitalize;
  221. }
  222. .crumbs a {
  223. color: #000000;
  224. /*padding-right: 8px;*/
  225. }
  226. .crumbs a:hover {
  227. color: #660000;
  228. }
  229. .utils {
  230. font: bold 12px/11px Arial, Helvetica, sans-serif;
  231. text-transform: capitalize;
  232. }
  233. .utils a {
  234. vertical-align: 50%;
  235. }
  236. .vRule {
  237. border-left: 1px solid #5274AE;
  238. }
  239. .hRule {
  240. border-top: 1px solid #5274AE;
  241. }
  242. .note {
  243. font: bold .21em/1.25em Arial, sans;
  244. }
  245. .bg_bug {
  246. /*padding: 5px;*/
  247. /*padding-top: 60px;*/
  248. color: #FFFFFF;
  249. font: bold italic 13px/12px Georgia, serif;
  250. background-image: url("http://media.skyandtelescope.com/designimages/BG_back.jpg");
  251. border: solid 1px #000000;
  252. /*margin-bottom: 5px;*/
  253. }
  254. .bg_bug form {
  255. padding: 0;
  256. margin: 0;
  257. }
  258. .right {
  259. float: right;
  260. }
  261. .left {
  262. float: left;
  263. }
  264. /* Ad Column elements on all pages */
  265. #cAdvert {
  266. float: right;
  267. /*width: 213px;*/
  268. /*margin: 5px 6px 0 0;*/
  269. }
  270. #cAdvert img {
  271. border: 1px solid #000000;
  272. /*margin-bottom: 5px;*/
  273. }
  274. #cAdvert .artTopAds img {
  275. border: none;
  276. }
  277. #cAdvert h2 {
  278. font: bold 14px Georgia, serif;
  279. font-style: italic;
  280. padding-bottom: 0;
  281. margin-bottom: 0;
  282. }
  283. #cMain {
  284. /*padding-bottom: 7px;*/
  285. }
  286. .cWrap {
  287. border: solid 1px black;
  288. background-color: #FFFFFF;
  289. }
  290. .cMainImg {
  291. float: left;
  292. /*margin-right: 5px;*/
  293. }
  294. .cHeader {
  295. /*padding: 1% 0 0 5px;*/
  296. background-color: transparent;
  297. color: #FFFFFF;
  298. font: bold 13px/13px Arial, Helvetica, sans-serif;
  299. text-transform: capitalize;
  300. }
  301. .MoonHeader {
  302. /*padding-left: 5px;*/
  303. background: transparent;
  304. color: #FFFFFF;
  305. font: bold 13px/13px Arial, Helvetica, sans-serif;
  306. text-transform: capitalize;
  307. }
  308. .smBlurb, .cArea {
  309. font: normal 14px/16px Arial, Helvetica, sans-serif;
  310. }
  311. .cArea {
  312. /*padding: 5px;*/
  313. color: black;
  314. }
  315. .smBlurb {
  316. color: #000000;
  317. }
  318. .cArea form {
  319. padding: 0;
  320. margin: 0;
  321. }
  322. .cFooter {
  323. border-bottom: solid 6px black;
  324. }
  325. .cMainSub {
  326. clear: both;
  327. /*padding: 5px 0;*/
  328. border: solid 1px black;
  329. background-color: #E7E7E7;
  330. text-transform: capitalize;
  331. text-align: center;
  332. }
  333. .cSubBox {
  334. /*width: 567px;*/
  335. border: 1px solid #FFFFFF;
  336. /*margin: 7px 0 0 10px;*/
  337. }
  338. .smPhoto {
  339. float: left;
  340. /*padding: 0 5px 5px 0;*/
  341. }
  342. /*
  343. Template custom elements
  344. */
  345. .btn {
  346. border-radius: 2px;
  347. border: 1px solid white;
  348. background-color: transparent;
  349. color: white;
  350. font-size: 13px;
  351. font-weight: bolder;
  352. font-family: 'Open Sans', sans-serif;
  353. /*padding:5px 15px;*/
  354. text-transform: capitalize;
  355. transition: background-color .15s ease-out;
  356. }
  357. .container {
  358. max-width: 915px;
  359. /*height: 1100px;*/
  360. }
  361. .row {
  362. overflow: auto;
  363. /*height: 100%;*/
  364. width: 100%;
  365. border-bottom: 1px solid white;
  366. background: url(almanac_files/header-bg.jpg) no-repeat;
  367. background-size: cover;
  368. }
  369. .btn:hover {
  370. background-color: white;
  371. color: black;
  372. }
  373. .show {
  374. display: none;
  375. }
  376. /*
  377. Top row custom elements
  378. */
  379. .box1 {
  380. /*width: 32.98%;*/
  381. overflow: auto;
  382. float: left;
  383. border-right: 1px solid white;
  384. height: 210px;
  385. }
  386. #header_box {
  387. width: 34%;
  388. overflow: auto;
  389. float: left;
  390. border-right: 1px solid white;
  391. }
  392. #loc_box {
  393. width: 38.2%;
  394. overflow: auto;
  395. float: left;
  396. border-right: 1px solid white;
  397. }
  398. #location_select {
  399. margin-top: 7%;
  400. margin-left: 5%;
  401. width: 90%;
  402. }
  403. #time_select {
  404. margin-left: 5%;
  405. width: 90%;
  406. }
  407. .box1:nth-child(1), .box1:nth-child(2) {
  408. padding-right: 0.33%;
  409. }
  410. #new_logo {
  411. width: 75%;
  412. height: auto;
  413. margin-top: 5%;
  414. margin-left: 9%;
  415. vertical-align: middle;
  416. text-align: center;
  417. }
  418. #d_s_t {
  419. width: 13px;
  420. height: 13px;
  421. padding: 0;
  422. /*margin-top: 10%;*/
  423. margin-left: 5%;
  424. vertical-align: bottom;
  425. position: relative;
  426. top: -1%;
  427. *overflow: hidden;
  428. }
  429. #d_s_t_2 {
  430. display: block;
  431. padding-left: .5%;
  432. text-indent: -.5%;
  433. }
  434. .long_span {
  435. display: inline-block;
  436. margin-top: 0;
  437. }
  438. .back_to_now {
  439. margin-left: 5%; margin-top: 5%;
  440. }
  441. #lat_span {
  442. display:inline-block;
  443. /*margin-top: 5%;*/
  444. }
  445. #lat_lon_tz {
  446. text-align: center;
  447. border-right: none;
  448. width: 26.2%;
  449. overflow: auto;
  450. float: left;
  451. }
  452. #lat_lon_tz select {
  453. margin-top: 3%;
  454. }
  455. .box1 p {
  456. text-transform: none; margin-left:10%;font: bold 13px/20px Arial, Helvetica, sans-serif;
  457. }
  458. #ut_img {
  459. border: none;
  460. background-color: transparent;
  461. color: white;
  462. outline: none;
  463. }
  464. /*
  465. Second row custom elements
  466. */
  467. .box2 {
  468. /*border-top: 1px solid white;*/
  469. width: 16.4%;
  470. height: 70px;
  471. overflow: auto;
  472. float: left;
  473. text-align: center;
  474. }
  475. .box2 .btn {
  476. margin-top: 15%;
  477. font-size: 15px;
  478. font-weight: bolder;
  479. }
  480. /*
  481. Almanac computation row custom elements
  482. */
  483. .popup {
  484. color:#FF0000; cursor:pointer;
  485. cursor:hand; margin-left: 37%;
  486. margin-top: 0;
  487. }
  488. .popup2 {
  489. color:#FF0000; cursor:pointer;
  490. cursor:hand; margin-top: 0;
  491. }
  492. .box3 label {
  493. width: 10%;
  494. }
  495. .box_comp p {
  496. font-weight: bolder; text-transform: uppercase;
  497. }
  498. .box_comp {
  499. width: 20%;
  500. height: 110px;
  501. overflow: auto;
  502. float: left;
  503. text-align: center;
  504. vertical-align: middle;
  505. }
  506. .box_comp div {
  507. position: relative;
  508. top: 50%;
  509. transform: translateY(-50%);
  510. }
  511. .box3 {
  512. width: 39.5%;
  513. height: 110px;
  514. overflow: auto;
  515. float: left;
  516. text-align: center;
  517. }
  518. .box3 input {
  519. width: 50%;
  520. margin-top: 3%;
  521. }
  522. .box3 label {
  523. display: inline-block;
  524. text-align: center;
  525. margin-right: 25%;
  526. font: bold 13px/13px Arial, Helvetica, sans-serif;
  527. }
  528. #hours {
  529. margin-top: -.5%;
  530. margin-left: 35%;
  531. }
  532. /*
  533. Moon/Sun data row custom elements
  534. */
  535. .inner_row {
  536. margin-top: 2%;
  537. margin-bottom: 2%;
  538. width: 100%;
  539. }
  540. .inner_row label {
  541. text-align: center;
  542. }
  543. .inner_box span {
  544. margin-top: 0;
  545. }
  546. .inner_box label {
  547. text-align: center;
  548. }
  549. .inner_row span {
  550. margin-top: 0;
  551. display: inline-block;
  552. }
  553. #margin, #margin2 {
  554. margin-left: 10%;
  555. }
  556. #phase6 {
  557. width: 95%; height: 65px; margin-top: 2%; padding: 1px; font: normal 13px/18px Arial, Helvetica, sans-serif;
  558. }
  559. .box4 {
  560. width: 25%;
  561. height: 215px;
  562. overflow: auto;
  563. float: left;
  564. background: black;
  565. background-size: cover;
  566. }
  567. #moon_img {
  568. width: 75%;
  569. height: auto;
  570. margin-left: 12%;
  571. margin-top: 7%;
  572. }
  573. .box5 {
  574. width: 75%;
  575. height: 215px;
  576. overflow: auto;
  577. float: left;
  578. background: url(almanac_files/header-bg.jpg) no-repeat;
  579. background-size: cover;
  580. }
  581. /*
  582. Table data row custom elements
  583. */
  584. #hide {
  585. color: black;
  586. }
  587. .row_new p {
  588. margin: 0; padding-left: 1%; color: black;
  589. }
  590. .data input {
  591. display: inline-block;
  592. width: 10.89%;
  593. border: 1px solid black;
  594. float: left;
  595. }
  596. .data h3 {
  597. display: inline-block;
  598. width: 10.89%;
  599. border: 1px solid transparent;;
  600. float: left;
  601. text-align: center;
  602. margin: 0;
  603. color: white;
  604. background: black;
  605. padding-top: 1%;
  606. padding-bottom: 1%;
  607. }
  608. .data h2 {
  609. display: inline-block;
  610. width: 10.89%;
  611. border: 1px solid transparent;;
  612. float: left;
  613. margin: 0;
  614. vertical-align: middle;
  615. height: 25px;
  616. text-align: center;
  617. color: black;
  618. font-family: Arial;
  619. font-style: normal;
  620. }
  621. .row_new {
  622. overflow: auto;
  623. /*height: 100%;*/
  624. width: 100%;
  625. border-bottom: 1px solid white;
  626. background: darkgrey;
  627. background-size: cover;
  628. }
  629. .data2 {
  630. display: none;
  631. }
  632. @media (max-width: 767px) {
  633. .inner_row label {
  634. text-align: center;
  635. }
  636. .inner_box span {
  637. margin-top: 0;
  638. width: 100%;
  639. }
  640. .inner_box label {
  641. text-align: center;
  642. width: 100%;
  643. }
  644. .inner_box input{
  645. width: 75%;
  646. }
  647. .inner_row span {
  648. margin-top: 0;
  649. display: inline-block;
  650. }
  651. #margin, #margin2 {
  652. margin-left: 0;
  653. }
  654. .show {
  655. border-radius: 2px;
  656. width: 30%;
  657. display: block;
  658. border: 1px solid black;
  659. background-color: black;
  660. color: white;
  661. font-size: 13px;
  662. font-weight: bolder;
  663. font-family: 'Open Sans', sans-serif;
  664. text-transform: capitalize;
  665. transition: background-color .15s ease-out;
  666. margin-left: 35%;
  667. /*margin-top: 2%;*/
  668. margin-bottom: 2%;
  669. }
  670. textarea{
  671. margin-left: 2%;
  672. }
  673. .show:hover {
  674. background-color: white;
  675. color: black;
  676. }
  677. .container {
  678. width: 100%;
  679. }
  680. #header_box {
  681. width: 99%;
  682. border-bottom: 1px solid white;
  683. border-right:none;
  684. /*height: auto;*/
  685. }
  686. #loc_box {
  687. width: 100%;
  688. border-bottom: 1px solid white;
  689. border-right:none;
  690. /*height: auto;*/
  691. }
  692. #lat_lon_tz {
  693. width: 99%;
  694. border-bottom: 1px solid white;
  695. border-right:none;
  696. /*height: auto;*/
  697. }
  698. .data input {
  699. width: 10.89%;
  700. border: 1px solid black;
  701. display: block;
  702. }
  703. .row_new {
  704. overflow: auto;
  705. width: 100%;
  706. border-bottom: 1px solid white;
  707. background: darkgrey;
  708. background-size: cover;
  709. display: none;
  710. }
  711. #show {
  712. display: block;
  713. }
  714. #lat_lon_tz {
  715. margin: 0;
  716. border:none;
  717. height: 225px;
  718. }
  719. #btn{
  720. margin-bottom: 3%;
  721. }
  722. .box2 {
  723. width: 16.4%;
  724. overflow: auto;
  725. float: left;
  726. text-align: center;
  727. }
  728. .box2 .btn {
  729. margin-top: 25px;
  730. font-size: 10px;
  731. }
  732. .box_comp {
  733. width: 100%;
  734. }
  735. .box3 {
  736. width: 80%;
  737. }
  738. .box4 {
  739. width: 100%;
  740. height: auto;
  741. border-bottom: 1px solid white;
  742. }
  743. #moon_img {
  744. width: 82%;
  745. height: auto;
  746. }
  747. .box5 {
  748. width: 100%;
  749. height: 300px;
  750. }
  751. .data input {
  752. display: inline-block;
  753. width: 10.89%;
  754. border: 1px solid black;
  755. float: left;
  756. font-size: 5px;
  757. padding: 0;
  758. margin: 0;
  759. }
  760. .data h3 {
  761. display: inline-block;
  762. width: 10.89%;
  763. border: 1px solid transparent;;
  764. float: left;
  765. text-align: center;
  766. margin: 0;
  767. color: white;
  768. background: black;
  769. padding-top: 1%;
  770. padding-bottom: 1%;
  771. font-size: 9px;
  772. }
  773. .inner_row {
  774. width: 100%;
  775. text-align: center;
  776. }
  777. .inner_box {
  778. text-align: center;
  779. width: 100%;
  780. }
  781. .inner_row input {
  782. margin: 0;
  783. padding: 0;
  784. }
  785. .inner_row span {
  786. margin: 0;
  787. padding: 0;
  788. }
  789. .inner_row label {
  790. margin: 0;
  791. padding: 0;
  792. }
  793. .data h2 {
  794. display: inline-block;
  795. width: 10.89%;
  796. border: 1px solid transparent;;
  797. float: left;
  798. font-size: 9px;
  799. margin: 0;
  800. vertical-align: middle;
  801. text-align: center;
  802. color: black;
  803. font-family: Arial;
  804. font-style: normal;
  805. }
  806. .data2 h2 {
  807. color: black;
  808. font-family: Arial;
  809. font-style: normal;
  810. }
  811. #new_logo {
  812. width: 75%;
  813. }
  814. }