|
| 1 | +@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&display=swap"); |
| 2 | +@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;700&display=swap"); |
| 3 | +html { |
| 4 | + background: #e8d5b0; |
| 5 | + height: 100%; |
| 6 | +} |
| 7 | + |
| 8 | +body { |
| 9 | + font-family: "Crimson Text", serif; |
| 10 | + line-height: 28px; |
| 11 | + margin: 0; |
| 12 | + color: #3d2b1a; |
| 13 | +} |
| 14 | + |
| 15 | +img[alt*="small"] { |
| 16 | + height: 500px; |
| 17 | +} |
| 18 | + |
| 19 | +img[alt*="extrasmall"] { |
| 20 | + height: 250px; |
| 21 | +} |
| 22 | + |
| 23 | +.coverimage { |
| 24 | + background: linear-gradient(180deg, #f5e6c8 0%, #e8cc8a 20%, #d4a855 40%, #c2853e 60%, #a0673a 80%, #7a4b2a 100%); |
| 25 | + background-repeat: no-repeat; |
| 26 | + background-size: cover; |
| 27 | + background-attachment: fixed; |
| 28 | + min-width: 100%; |
| 29 | + max-width: 300%; |
| 30 | + height: 100%; |
| 31 | +} |
| 32 | + |
| 33 | +h1 { |
| 34 | + font-family: "Cinzel", serif; |
| 35 | + color: #8b4513; |
| 36 | + line-height: 110%; |
| 37 | + text-transform: uppercase; |
| 38 | + letter-spacing: 4px; |
| 39 | + text-shadow: 1px 1px 0px #e8d5b0; |
| 40 | +} |
| 41 | + |
| 42 | +h2 { |
| 43 | + font-family: "Cinzel", serif; |
| 44 | + color: #a0522d; |
| 45 | + line-height: 110%; |
| 46 | + letter-spacing: 2px; |
| 47 | +} |
| 48 | + |
| 49 | +h3 { |
| 50 | + color: #6b3a1f; |
| 51 | + line-height: 110%; |
| 52 | +} |
| 53 | + |
| 54 | +code { |
| 55 | + border-radius: 3px; |
| 56 | + background-color: #3d2b1a; |
| 57 | + color: #e8cc8a; |
| 58 | + line-height: 200%; |
| 59 | + word-wrap: break-word; |
| 60 | +} |
| 61 | + |
| 62 | +pre { |
| 63 | + background-color: #3d2b1a; |
| 64 | + width: 90%; |
| 65 | + border-radius: 2px; |
| 66 | + padding-top: 10px; |
| 67 | + padding-left: 10px; |
| 68 | + padding-right: 10px; |
| 69 | + padding-bottom: 10px; |
| 70 | + overflow-x: scroll; |
| 71 | + border-left: 3px solid #c2853e; |
| 72 | +} |
| 73 | + |
| 74 | +.container { |
| 75 | + padding-top: 50px; |
| 76 | + padding-bottom: 50px; |
| 77 | + display: flex; |
| 78 | + flex-direction: column; |
| 79 | + justify-content: center; |
| 80 | + align-items: center; |
| 81 | + min-height: 100vh; |
| 82 | + background: #dcc9a3; |
| 83 | +} |
| 84 | + |
| 85 | +.block { |
| 86 | + max-width: 800px; |
| 87 | + min-width: 270px; |
| 88 | + width: 90%; |
| 89 | + background-color: #f0e0c0; |
| 90 | + padding: 24px; |
| 91 | + margin-bottom: 15px; |
| 92 | + overflow-y: auto; |
| 93 | + border-radius: 2px; |
| 94 | + border-top: 3px solid #c2853e; |
| 95 | + box-shadow: 0 2px 12px rgba(61,43,26,0.15); |
| 96 | +} |
| 97 | + |
| 98 | +.nav { |
| 99 | + max-width: 800px; |
| 100 | + min-width: 300px; |
| 101 | + width: 90%; |
| 102 | + background-color: #f0e0c0; |
| 103 | + padding: 10px; |
| 104 | + overflow-y: auto; |
| 105 | + border-radius: 2px; |
| 106 | + align-items: center; |
| 107 | + justify-content: space-evenly; |
| 108 | + display: flex; |
| 109 | + flex-wrap: wrap; |
| 110 | + margin-bottom: 10px; |
| 111 | + border-top: 3px solid #c2853e; |
| 112 | +} |
| 113 | + |
| 114 | +.footer { |
| 115 | + max-width: 800px; |
| 116 | + min-width: 300px; |
| 117 | + width: 90%; |
| 118 | + background-color: #f0e0c0; |
| 119 | + padding: 10px; |
| 120 | + overflow-y: auto; |
| 121 | + border-radius: 2px; |
| 122 | + align-items: center; |
| 123 | + justify-content: space-evenly; |
| 124 | + display: flex; |
| 125 | + flex-wrap: wrap; |
| 126 | + margin-bottom: 10px; |
| 127 | + border-top: 3px solid #c2853e; |
| 128 | +} |
| 129 | + |
| 130 | +@media only screen and (max-width: 500px) { |
| 131 | + .nav { |
| 132 | + max-width: 800px; |
| 133 | + min-width: 300px; |
| 134 | + width: 90%; |
| 135 | + background-color: #f0e0c0; |
| 136 | + padding: 10px; |
| 137 | + overflow-y: scroll; |
| 138 | + border-radius: 2px; |
| 139 | + align-items: flex-start; |
| 140 | + justify-content: space-evenly; |
| 141 | + display: flex; |
| 142 | + flex-wrap: wrap; |
| 143 | + margin-bottom: 10px; |
| 144 | + flex-direction: column; |
| 145 | + } |
| 146 | + .footer { |
| 147 | + max-width: 800px; |
| 148 | + min-width: 300px; |
| 149 | + width: 90%; |
| 150 | + background-color: #f0e0c0; |
| 151 | + padding: 10px; |
| 152 | + border-radius: 2px; |
| 153 | + align-items: flex-start; |
| 154 | + justify-content: space-evenly; |
| 155 | + display: flex; |
| 156 | + flex-wrap: wrap; |
| 157 | + margin-bottom: 10px; |
| 158 | + flex-direction: column; |
| 159 | + } |
| 160 | + .coverimage { |
| 161 | + background: transparent; |
| 162 | + background-repeat: no-repeat; |
| 163 | + background-size: cover; |
| 164 | + background-attachment: fixed; |
| 165 | + min-width: 100%; |
| 166 | + max-width: 300%; |
| 167 | + height: 100%; |
| 168 | + } |
| 169 | + .container { |
| 170 | + padding-top: 20px; |
| 171 | + padding-bottom: 50px; |
| 172 | + display: flex; |
| 173 | + flex-direction: column; |
| 174 | + justify-content: center; |
| 175 | + align-items: center; |
| 176 | + min-height: 100vh; |
| 177 | + } |
| 178 | +} |
| 179 | + |
| 180 | +a { |
| 181 | + text-decoration: none; |
| 182 | + color: #1a6b8a; |
| 183 | + align-items: center; |
| 184 | +} |
| 185 | + |
| 186 | +a:hover { |
| 187 | + -webkit-transform: scale(1.1); |
| 188 | + -ms-transform: scale(1.1); |
| 189 | + transform: scale(1.1); |
| 190 | + color: #2596be; |
| 191 | +} |
| 192 | + |
| 193 | +.back { |
| 194 | + text-decoration: underline; |
| 195 | +} |
0 commit comments