A site that displays information about books I've read for a class assignment
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

281 lines
4.4 KiB

  1. * {
  2. box-sizing: border-box;
  3. }
  4. html {
  5. height: 100%;
  6. scroll-behavior: smooth;
  7. }
  8. body {
  9. margin: 0;
  10. font-family: 'Roboto', sans-serif;
  11. height: 100%;
  12. background-color: #040e1e;
  13. }
  14. h1 {
  15. all: initial;
  16. }
  17. h1 {
  18. font-family: 'Roboto', sans-serif;
  19. color: white;
  20. padding-right: 8px;
  21. font-size: 23.5px;
  22. }
  23. a {
  24. color: white;
  25. }
  26. a:hover {
  27. color: #FF8B00;
  28. }
  29. .go-down {
  30. color: white;
  31. background-color: #005380;
  32. font-family: 'Roboto', sans-serif;
  33. font-size: 1.75em;
  34. cursor: pointer;
  35. border: 0;
  36. transition-duration: 0.3s;
  37. padding: 0.5em;
  38. border-radius: 0.5em;
  39. border: 0.1em solid #FF8B00;
  40. }
  41. .go-down:hover {
  42. transition: ease-in-out;
  43. -webkit-transition: ease-in-out;
  44. -moz-transition: ease-in-out;
  45. -o-transition: ease-in-out;
  46. background-color: #FF8B00;
  47. border: 0.1em solid #005380;
  48. }
  49. .go-down:active {
  50. outline: 0 !important;
  51. }
  52. .go-down:focus {
  53. outline: 0 !important;
  54. }
  55. .go-down-container {
  56. text-align: center;
  57. }
  58. .page-container {
  59. position: relative;
  60. min-height: 100vh;
  61. }
  62. .content-wrap {
  63. padding-bottom: 8.5rem;
  64. }
  65. .Navbar {
  66. background-color: #005380;
  67. display: flex;
  68. padding: 16px;
  69. font-family: 'Roboto', sans-serif;
  70. color: white;
  71. }
  72. .Navbar__Link {
  73. padding-right: 8px;
  74. font-size: 18.5px;
  75. }
  76. .Navbar__Link-brand {
  77. padding-right: 8px;
  78. font-size: 18.5px;
  79. }
  80. .Navbar__Link a,
  81. h1 {
  82. color: white;
  83. }
  84. .Navbar__Link a:link {
  85. text-decoration: none;
  86. }
  87. .Navbar__Link a:visited {
  88. text-decoration: none;
  89. }
  90. .Navbar__Link a:hover {
  91. text-decoration: underline;
  92. }
  93. .Navbar__Link a:active {
  94. text-decoration: underline;
  95. }
  96. .Navbar__Items {
  97. display: flex;
  98. }
  99. .Navbar__Items--right {
  100. margin-left: auto;
  101. }
  102. .Navbar__Link-toggle {
  103. display: none;
  104. }
  105. .banner {
  106. width: 100%;
  107. height: fit-content;
  108. padding: 10px;
  109. }
  110. .column {
  111. float: left;
  112. width: 33.33%;
  113. width: calc(100% / 3);
  114. padding: 15px;
  115. height: 200px;
  116. padding-bottom: 20px;
  117. }
  118. .row:after {
  119. content: "";
  120. display: table;
  121. clear: both;
  122. }
  123. .row {
  124. margin-left: 0px;
  125. margin-right: 0px;
  126. height: auto;
  127. padding-bottom: 20px;
  128. }
  129. .card {
  130. height: 100%;
  131. width: 100%;
  132. border-radius: 2.5%;
  133. background-color: #005380;
  134. box-shadow: 5px 10px #FF8B00;
  135. cursor: pointer;
  136. position: relative;
  137. }
  138. .card:hover {
  139. box-shadow: 10px 20px #FF8B00;
  140. transition: box-shadow 0.25s ease-in-out;
  141. -webkit-transition: box-shadow 0.25s ease-in-out;
  142. -o-transition: box-shadow 0.25s ease-in-out;
  143. -moz-transition: box-shadow 0.25s ease-in-out;
  144. }
  145. .card-top-banner {
  146. height: 100%;
  147. width: 100%;
  148. }
  149. .top-banner-text {
  150. color: white;
  151. text-align: center;
  152. font-size: 3em;
  153. padding: 0;
  154. margin-bottom: 0.5em;
  155. margin-top: 0.5em;
  156. }
  157. .top-banner-text-medium {
  158. color: white;
  159. text-align: center;
  160. font-size: 2em;
  161. padding: 0;
  162. margin-bottom: 0em;
  163. margin-top: 0em;
  164. }
  165. .top-banner-text-smaller {
  166. color: white;
  167. text-align: center;
  168. font-size: 1.5em;
  169. padding: 0;
  170. margin-bottom: 25px;
  171. }
  172. .card-header {
  173. color: white;
  174. font-family: 'Roboto', sans-serif;
  175. text-align: center;
  176. font-size: 1.75em;
  177. padding: 10px;
  178. margin: 0;
  179. width: 100%;
  180. position: absolute;
  181. top: 50%;
  182. left: 50%;
  183. -ms-transform: translate(-50%, -50%);
  184. transform: translate(-50%, -50%);
  185. }
  186. .footer {
  187. background-color: #005380;
  188. color: white;
  189. text-align: center;
  190. position: absolute;
  191. bottom: 0;
  192. width: 100%;
  193. height: 5rem;
  194. }
  195. .footer-links {
  196. padding-top: 10px;
  197. padding-bottom: 10px;
  198. width: 100%;
  199. height: 100%;
  200. line-height: 1em;
  201. }
  202. .footer a {
  203. background-color: transparent;
  204. font-size: 1.1em;
  205. }
  206. .footer p {
  207. background-color: transparent;
  208. font-size: 1.1em;
  209. }
  210. @media only screen and (max-width: 1024px) {
  211. .Navbar__Items,
  212. .Navbar {
  213. flex-direction: column;
  214. }
  215. .Navbar__Items {
  216. display: none;
  217. }
  218. .Navbar__Items--right {
  219. margin-left: 0;
  220. }
  221. .Navbar__ToggleShow {
  222. display: flex;
  223. }
  224. .Navbar__Link-toggle {
  225. align-self: flex-end;
  226. display: initial;
  227. position: absolute;
  228. cursor: pointer;
  229. }
  230. .column {
  231. width: 100%;
  232. }
  233. .card {
  234. border-radius: 1%;
  235. }
  236. }
  237. @media only screen and (max-width: 500px) {
  238. .column {
  239. height: 400px;
  240. }
  241. }