Samuel Shuert | 016ea02 | 2021-09-01 16:17:24 -0500 | [diff] [blame^] | 1 | .container { |
| 2 | min-height: 100vh; |
| 3 | padding: 0 0.5rem; |
| 4 | display: flex; |
| 5 | flex-direction: column; |
| 6 | justify-content: center; |
| 7 | align-items: center; |
| 8 | height: 100vh; |
| 9 | } |
| 10 | |
| 11 | .main { |
| 12 | padding: 5rem 0; |
| 13 | flex: 1; |
| 14 | display: flex; |
| 15 | flex-direction: column; |
| 16 | justify-content: center; |
| 17 | align-items: center; |
| 18 | } |
| 19 | |
| 20 | .footer { |
| 21 | width: 100%; |
| 22 | height: 100px; |
| 23 | border-top: 1px solid #eaeaea; |
| 24 | display: flex; |
| 25 | justify-content: center; |
| 26 | align-items: center; |
| 27 | } |
| 28 | |
| 29 | .footer a { |
| 30 | display: flex; |
| 31 | justify-content: center; |
| 32 | align-items: center; |
| 33 | flex-grow: 1; |
| 34 | } |
| 35 | |
| 36 | .title a { |
| 37 | color: #0070f3; |
| 38 | text-decoration: none; |
| 39 | } |
| 40 | |
| 41 | .title a:hover, |
| 42 | .title a:focus, |
| 43 | .title a:active { |
| 44 | text-decoration: underline; |
| 45 | } |
| 46 | |
| 47 | .title { |
| 48 | margin: 0; |
| 49 | line-height: 1.15; |
| 50 | font-size: 4rem; |
| 51 | } |
| 52 | |
| 53 | .title, |
| 54 | .description { |
| 55 | text-align: center; |
| 56 | } |
| 57 | |
| 58 | .description { |
| 59 | line-height: 1.5; |
| 60 | font-size: 1.5rem; |
| 61 | } |
| 62 | |
| 63 | .code { |
| 64 | background: #fafafa; |
| 65 | border-radius: 5px; |
| 66 | padding: 0.75rem; |
| 67 | font-size: 1.1rem; |
| 68 | font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono, |
| 69 | Bitstream Vera Sans Mono, Courier New, monospace; |
| 70 | } |
| 71 | |
| 72 | .grid { |
| 73 | display: flex; |
| 74 | align-items: center; |
| 75 | justify-content: center; |
| 76 | flex-wrap: wrap; |
| 77 | max-width: 800px; |
| 78 | margin-top: 3rem; |
| 79 | } |
| 80 | |
| 81 | .card { |
| 82 | margin: 1rem; |
| 83 | padding: 1.5rem; |
| 84 | text-align: left; |
| 85 | color: inherit; |
| 86 | text-decoration: none; |
| 87 | border: 1px solid #eaeaea; |
| 88 | border-radius: 10px; |
| 89 | transition: color 0.15s ease, border-color 0.15s ease; |
| 90 | width: 45%; |
| 91 | } |
| 92 | |
| 93 | .card:hover, |
| 94 | .card:focus, |
| 95 | .card:active { |
| 96 | color: #0070f3; |
| 97 | border-color: #0070f3; |
| 98 | } |
| 99 | |
| 100 | .card h2 { |
| 101 | margin: 0 0 1rem 0; |
| 102 | font-size: 1.5rem; |
| 103 | } |
| 104 | |
| 105 | .card p { |
| 106 | margin: 0; |
| 107 | font-size: 1.25rem; |
| 108 | line-height: 1.5; |
| 109 | } |
| 110 | |
| 111 | .logo { |
| 112 | height: 1em; |
| 113 | margin-left: 0.5rem; |
| 114 | } |
| 115 | |
| 116 | @media (max-width: 600px) { |
| 117 | .grid { |
| 118 | width: 100%; |
| 119 | flex-direction: column; |
| 120 | } |
| 121 | } |