mostly filebased Content Presentation System

127 行
2.8KB

  1. * {
  2. box-sizing: border-box; }
  3. html {
  4. color: #777;
  5. background: #fff; }
  6. .card h2, .item h2 {
  7. font-family: georgia, serif; }
  8. body, h1, h2, h3, h4, h5, h6, ul {
  9. margin: 0;
  10. padding: 0; }
  11. @media only screen and (max-width: 750px) {
  12. #main-nav {
  13. display: none; } }
  14. h1 {
  15. margin: .5em 0 0 1em; }
  16. .card {
  17. max-width: 600px; }
  18. .card img {
  19. width: 100%; }
  20. .card::after {
  21. content: "";
  22. clear: both;
  23. display: table; }
  24. .featherlight .featherlight-content {
  25. background: none;
  26. overflow: visible; }
  27. .featherlight .featherlight-content .featherlight-close-icon {
  28. background: none;
  29. top: -10px;
  30. right: -10px;
  31. color: #fff;
  32. font-size: 1.5em; }
  33. @media only screen and (max-width: 750px) {
  34. .featherlight .featherlight-content iframe {
  35. width: 100%;
  36. height: 100%; } }
  37. #mobile-nav {
  38. display: none;
  39. font-family: verdana, sans;
  40. font-size: 1.2em; }
  41. @media only screen and (max-width: 750px) {
  42. #mobile-nav {
  43. display: block;
  44. display: none; }
  45. #mobile-nav a.menu-toggle {
  46. display: block; } }
  47. #mobile-nav .the_list {
  48. display: none;
  49. padding: 2em; }
  50. #mobile-nav .the_list .home-link,
  51. #mobile-nav .the_list > ul:last-child {
  52. font-family: cursive;
  53. font-size: 1.4em;
  54. margin-top: -.7em;
  55. color: #bf920c; }
  56. #mobile-nav .the_list .home-link a,
  57. #mobile-nav .the_list > ul:last-child a {
  58. color: #bf920c;
  59. display: inline-block;
  60. margin-top: 8px; }
  61. #mobile-nav .the_list .home-link {
  62. display: inline-block;
  63. text-transform: lowercase;
  64. margin-bottom: 8px; }
  65. #mobile-nav .the_list ul {
  66. margin-bottom: 1.7em; }
  67. #mobile-nav .the_list li {
  68. margin: 0.5em;
  69. list-style: none; }
  70. #mobile-nav .the_list li ul {
  71. margin-bottom: 1em; }
  72. #mobile-nav .the_list a {
  73. color: #000;
  74. text-decoration: none;
  75. font-weight: normal; }
  76. #mobile-nav .the_list .active > a {
  77. color: #bf920c;
  78. font-weight: bold; }
  79. #mobile-nav.open .the_list {
  80. display: block;
  81. position: fixed;
  82. top: 0;
  83. left: 0;
  84. z-index: 99;
  85. background: rgba(255, 255, 255, 0.9);
  86. height: 100%;
  87. width: 100%;
  88. overflow: scroll; }
  89. #mobile-nav a.menu-toggle {
  90. position: fixed;
  91. top: 0;
  92. right: 0;
  93. width: 50px;
  94. height: 50px;
  95. z-index: 100;
  96. cursor: pointer;
  97. background: #fff;
  98. background: rgba(255, 255, 255, 0.9);
  99. background-image: url("img/menu-icon.png");
  100. background-position: top; }
  101. #mobile-nav.open a.menu-toggle {
  102. background-position: bottom; }
  103. a {
  104. color: black;
  105. text-decoration: none; }
  106. a:hover {
  107. text-decoration: underline; }
  108. #admin-panel {
  109. position: fixed;
  110. bottom: 1em;
  111. right: 1em;
  112. width: 400px;
  113. height: 300px;
  114. background: #fa0; }
  115. /*# sourceMappingURL=style.css.map */