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.

316 lines
5.1 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: #85144b;
  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: #FFDC00;
  28. }
  29. .go-down {
  30. color: white;
  31. background-color: #0074D9;
  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 #FFDC00;
  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: #FFDC00;
  47. border: 0.1em solid #0074D9;
  48. color: black;
  49. }
  50. .go-down:active {
  51. outline: 0 !important;
  52. }
  53. .go-down:focus {
  54. outline: 0 !important;
  55. }
  56. .go-down-container {
  57. text-align: center;
  58. }
  59. .page-container {
  60. position: relative;
  61. min-height: 100vh;
  62. }
  63. .content-wrap {
  64. padding-bottom: 8.5rem;
  65. }
  66. .Navbar {
  67. background-color: #0074D9;
  68. display: flex;
  69. padding: 16px;
  70. font-family: 'Roboto', sans-serif;
  71. color: white;
  72. }
  73. .Navbar__Link {
  74. padding-right: 8px;
  75. font-size: 18.5px;
  76. }
  77. .Navbar__Link-brand {
  78. padding-right: 8px;
  79. font-size: 18.5px;
  80. }
  81. .Navbar__Link a,
  82. h1 {
  83. color: white;
  84. }
  85. .Navbar__Link a:link {
  86. text-decoration: none;
  87. }
  88. .Navbar__Link a:visited {
  89. text-decoration: none;
  90. }
  91. .Navbar__Link a:hover {
  92. text-decoration: underline;
  93. }
  94. .Navbar__Link a:active {
  95. text-decoration: underline;
  96. }
  97. .Navbar__Items {
  98. display: flex;
  99. }
  100. .Navbar__Items--right {
  101. margin-left: auto;
  102. }
  103. .Navbar__Link-toggle {
  104. display: none;
  105. }
  106. .banner {
  107. width: 100%;
  108. height: fit-content;
  109. padding: 10px;
  110. }
  111. .column {
  112. float: left;
  113. width: 33.33%;
  114. width: calc(100% / 3);
  115. padding: 15px;
  116. height: 200px;
  117. padding-bottom: 20px;
  118. }
  119. .row:after {
  120. content: "";
  121. display: table;
  122. clear: both;
  123. }
  124. .row {
  125. margin-left: 0px;
  126. margin-right: 0px;
  127. height: auto;
  128. padding-bottom: 20px;
  129. }
  130. .card {
  131. height: 100%;
  132. width: 100%;
  133. background-color: #0074D9;
  134. box-shadow: 5px 10px #FFDC00;
  135. cursor: pointer;
  136. position: relative;
  137. }
  138. .card:hover {
  139. box-shadow: 10px 20px #FFDC00;
  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: #0074D9;
  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. .main-box {
  211. color: white;
  212. padding-top: 10px;
  213. padding-bottom: 10px;
  214. margin-left: 400px;
  215. margin-right: 400px;
  216. height: 800px;
  217. line-height: 1em;
  218. background-color: #0074D9;
  219. box-shadow: 10px 15px #FFDC00;
  220. }
  221. .main-box:hover {
  222. box-shadow: 20px 30px #FFDC00;
  223. transition: box-shadow 0.25s ease-in-out;
  224. -webkit-transition: box-shadow 0.25s ease-in-out;
  225. -o-transition: box-shadow 0.25s ease-in-out;
  226. -moz-transition: box-shadow 0.25s ease-in-out;
  227. }
  228. @media only screen and (max-width: 1366px) {
  229. .main-box {
  230. margin-left: 200px;
  231. margin-right: 200px;
  232. height: 400px;
  233. }
  234. }
  235. @media only screen and (max-width: 1024px) {
  236. .Navbar__Items,
  237. .Navbar {
  238. flex-direction: column;
  239. }
  240. .Navbar__Items {
  241. display: none;
  242. }
  243. .Navbar__Items--right {
  244. margin-left: 0;
  245. }
  246. .Navbar__ToggleShow {
  247. display: flex;
  248. }
  249. .Navbar__Link-toggle {
  250. align-self: flex-end;
  251. display: initial;
  252. position: absolute;
  253. cursor: pointer;
  254. }
  255. .column {
  256. width: 100%;
  257. }
  258. .main-box {
  259. margin-left: 50px;
  260. margin-right: 50px;
  261. height: 400px;
  262. }
  263. }
  264. @media only screen and (max-width: 500px) {
  265. .column {
  266. height: 400px;
  267. }
  268. .main-box {
  269. margin-left: 20px;
  270. margin-right: 20px;
  271. height: 400px;
  272. }
  273. }