|
1 | 1 | body { |
2 | 2 | font-family: "Arial", "sans-serif"; |
| 3 | + font-size: 14pt; |
| 4 | + min-height: 1vh; |
3 | 5 | } |
4 | 6 |
|
5 | 7 | .container { |
6 | 8 | margin: auto; |
7 | 9 | width: 85%; |
8 | 10 | } |
9 | 11 |
|
| 12 | +.head_foot_container { |
| 13 | + color: white; |
| 14 | + background-color: black; |
| 15 | + width: 100%; |
| 16 | + min-height: 6em; |
| 17 | + padding-top: 0.25em; |
| 18 | +} |
| 19 | + |
| 20 | +.head_foot_container a { |
| 21 | + color: lightgrey; |
| 22 | + text-decoration: underline; |
| 23 | +} |
| 24 | + |
| 25 | +.head_foot_container a:hover, |
| 26 | +.head_foot_container a:focus { |
| 27 | + text-decoration: none; |
| 28 | +} |
| 29 | + |
| 30 | +.head_foot_container a:visited { |
| 31 | + color: darkgrey; |
| 32 | +} |
| 33 | + |
| 34 | +.bottom_nav_list { |
| 35 | + list-style: none; |
| 36 | + display: flex; |
| 37 | + flex-flow: row wrap; |
| 38 | + width: 100%; |
| 39 | + padding-left: 0; |
| 40 | + justify-content: center; |
| 41 | +} |
| 42 | + |
| 43 | +.bottom_nav_list li { |
| 44 | + padding: 0 1em 0 0; |
| 45 | + margin: 0 0.25em; |
| 46 | +} |
| 47 | + |
| 48 | +header.head_foot_container { |
| 49 | + min-height: 3em; |
| 50 | + position: sticky; |
| 51 | + top: 0; |
| 52 | + margin: 0; |
| 53 | + margin-bottom: 10px; |
| 54 | +} |
| 55 | + |
10 | 56 | footer { |
11 | | - margin-top: 2em; |
12 | | - text-align: center; |
| 57 | + display: flex; |
| 58 | + flex-flow: row wrap; |
| 59 | + margin-top: 2em; |
| 60 | + position: sticky; |
| 61 | + bottom: 0px; |
| 62 | + text-align: center; |
| 63 | +} |
| 64 | + |
| 65 | +header { |
| 66 | + display: flex; |
| 67 | + flex-flow: row wrap; |
| 68 | + align-content: space-between; |
| 69 | +} |
| 70 | + |
| 71 | +.title { |
| 72 | + overflow: auto; |
13 | 73 | } |
14 | 74 |
|
15 | 75 | img.re_logo { |
16 | 76 | float: right; |
17 | 77 | object-fit: contain; |
18 | 78 | width: clamp(100px, 30%, 200px); |
19 | | - margin: 10px; |
20 | | - position: sticky; |
21 | | - top: 10px; |
22 | | - right: 10px; |
| 79 | +} |
| 80 | + |
| 81 | +.left { |
| 82 | + float: left; |
| 83 | + padding-inline: 0.25em; |
| 84 | + padding-left: inherit; |
| 85 | + padding-right: 0; |
| 86 | +} |
| 87 | + |
| 88 | +.right { |
| 89 | + float: right; |
| 90 | + padding-inline: 0.25em; |
| 91 | + padding-left: 0; |
| 92 | + padding-right: inherit; |
| 93 | +} |
| 94 | + |
| 95 | +.latest_entries { |
| 96 | + display: grid; |
| 97 | + column-gap: 10px; |
| 98 | + row-gap: 25px; |
| 99 | + list-style: none; |
| 100 | + padding: 0 0.1em; |
| 101 | + text-align: initial; |
| 102 | + margin: 0 2%; |
| 103 | + align-content: space-around; |
| 104 | +} |
| 105 | + |
| 106 | +.card { |
| 107 | + flex: auto; |
| 108 | + display: flex; |
| 109 | + flex-flow: column wrap; |
| 110 | + border-radius: 7px; |
| 111 | + margin: 0; |
| 112 | + padding: 0 0.25em; |
| 113 | + overflow: clip; |
| 114 | + background-color: rgb(233 238 235 / 60%); |
| 115 | + text-decoration: none; |
| 116 | + width: 95%; |
| 117 | + border: 1px solid black; |
| 118 | + border-radius: 7px 0 15px 0; |
| 119 | +} |
| 120 | + |
| 121 | + |
| 122 | +.card:hover, |
| 123 | +.card:focus { |
| 124 | + background-color: lightgrey; |
| 125 | + font-weight: initial; |
| 126 | + color: #030082; |
| 127 | +} |
| 128 | + |
| 129 | +.card:visited { |
| 130 | + color: #030082; |
| 131 | +} |
| 132 | + |
| 133 | +.card .title { |
| 134 | + font-weight: bold; |
| 135 | + font-size: 1.2em; |
| 136 | +} |
| 137 | + |
| 138 | +.published { |
| 139 | + margin-top: auto; |
| 140 | + margin-bottom: 2px; |
| 141 | + padding: 0; |
| 142 | + bottom: 0px; |
| 143 | +} |
| 144 | + |
| 145 | +/* Large monitor */ |
| 146 | +@media (width > 13in) { |
| 147 | + .latest_entries { |
| 148 | + grid-template-columns: 1fr 1fr 1fr 1fr; |
| 149 | + } |
| 150 | + |
| 151 | +} |
| 152 | + |
| 153 | +/* Tablet in landscape or small monitor */ |
| 154 | +@media (width <= 13in) { |
| 155 | + .latest_entries { |
| 156 | + grid-template-columns: 1fr 1fr; |
| 157 | + } |
| 158 | + |
| 159 | +} |
| 160 | + |
| 161 | +/* Tablet in portrait or phone in landscape */ |
| 162 | +@media (width <= 10in) { |
| 163 | + .latest_entries { |
| 164 | + grid-template-columns: 1fr 1fr; |
| 165 | + } |
| 166 | + |
| 167 | + .container { |
| 168 | + width: 95%; |
| 169 | + } |
| 170 | + |
| 171 | + /* If we are rendering on a smaller screen in landscape the sticky |
| 172 | + * items end up using all of the display. Use `relative` positioning |
| 173 | + * to keep them at the top and bottom just not sticky. */ |
| 174 | + @media (orientation: landscape) { |
| 175 | + header.head_foot_container, |
| 176 | + footer { |
| 177 | + position: relative; |
| 178 | + } |
| 179 | + } |
| 180 | +} |
| 181 | + |
| 182 | +/* Phone in portrait */ |
| 183 | +@media (width <= 6in) { |
| 184 | + .latest_entries { |
| 185 | + grid-template-columns: 1fr; |
| 186 | + } |
| 187 | + |
| 188 | + .container { |
| 189 | + width: 98%; |
| 190 | + } |
| 191 | + |
| 192 | + /* If we are rendering on a smaller screen in landscape the sticky |
| 193 | + * items end up using all of the display. Use `relative` positioning |
| 194 | + * to keep them at the top and bottom just not sticky. */ |
| 195 | + @media (orientation: landscape) { |
| 196 | + header.head_foot_container, |
| 197 | + footer { |
| 198 | + position: relative; |
| 199 | + } |
| 200 | + } |
| 201 | +} |
| 202 | + |
| 203 | +.vertical_divider { |
| 204 | + border-right: 2px solid white; |
| 205 | + margin: 0 0.5em 0 0.25em; |
| 206 | +} |
| 207 | + |
| 208 | +.references { |
| 209 | + display: flex; |
| 210 | + flex-flow: row wrap; |
| 211 | + vertical-align: middle; |
| 212 | + margin-top: 1em; |
| 213 | + border-top: 1px solid black; |
| 214 | + padding-top: 0.5em; |
| 215 | + text-align: center; |
| 216 | + justify-content: center; |
| 217 | +} |
| 218 | + |
| 219 | +.collection { |
| 220 | + border-top: 1px solid black; |
23 | 221 | } |
24 | 222 |
|
0 commit comments