|
9 | 9 | <link rel="stylesheet" href="../assets/css/styles.css" /> |
10 | 10 | <title>wordsofweb3 - {{title}}</title> |
11 | 11 | <script type="module" src="../js/entry-page.js" defer></script> |
| 12 | + <style> |
| 13 | + body { |
| 14 | + display: flex; |
| 15 | + flex-direction: column; |
| 16 | + min-height: 100vh; |
| 17 | + } |
| 18 | + main { |
| 19 | + flex: 1; |
| 20 | + } |
| 21 | + footer { |
| 22 | + margin-top: auto; |
| 23 | + padding: 1rem; |
| 24 | + background-color: #222; |
| 25 | + color: #fff; |
| 26 | + } |
| 27 | + .card { |
| 28 | + background-color: #2a2a3b; |
| 29 | + color: #ddd; |
| 30 | + } |
| 31 | + .card-title, |
| 32 | + h3, |
| 33 | + h4 { |
| 34 | + color: #ffcc00; |
| 35 | + } |
| 36 | + p { |
| 37 | + color: #ccc; |
| 38 | + } |
| 39 | + </style> |
12 | 40 | </head> |
13 | 41 | <body> |
14 | 42 | <header id="navbar-container" class="mb-5"> |
|
65 | 93 | </header> |
66 | 94 |
|
67 | 95 | <main class="container"> |
68 | | - <!-- Term Card --> |
69 | | - <div class="card mb-4"> |
| 96 | + <!-- Term Info Card --> |
| 97 | + <div class="card mb-4" id="term-info"> |
70 | 98 | <div class="card-body"> |
71 | | - <h1 class="card-title">{{term}}</h1> |
| 99 | + <h1 class="card-title" id="term">{{term}}</h1> |
72 | 100 | <p id="phonetic"><strong>Phonetic:</strong> {{phonetic}}</p> |
73 | 101 | <p id="partofspeech"> |
74 | 102 | <strong>Part of Speech:</strong> {{partOfSpeech}} |
75 | 103 | </p> |
76 | 104 | <p id="category"><strong>Category:</strong> {{termCategory}}</p> |
77 | | - <h3 id="definitiontitle"><strong>Definition</strong></h3> |
| 105 | + </div> |
| 106 | + </div> |
| 107 | + |
| 108 | + <!-- Definition Card --> |
| 109 | + <div class="card mb-4" id="definition-card"> |
| 110 | + <div class="card-body"> |
| 111 | + <h3 id="definitiontitle">Definition</h3> |
78 | 112 | <p id="definition">{{definition}}</p> |
79 | 113 | <p id="defsource"> |
80 | 114 | <strong>Definition source:</strong> {{definitionSource}} |
81 | 115 | </p> |
82 | 116 | <h4 id="sample">Sample sentence</h4> |
83 | | - <p>{{sampleSentence}}</p> |
84 | | - <h4 id="extended"><strong>Extended definition</strong></h4> |
| 117 | + <p id="sampleSentence">{{sampleSentence}}</p> |
| 118 | + </div> |
| 119 | + </div> |
| 120 | + |
| 121 | + <!-- Extended Info Card --> |
| 122 | + <div class="card mb-4" id="extended-info"> |
| 123 | + <div class="card-body"> |
| 124 | + <h4 id="extended">Extended definition</h4> |
85 | 125 | <p>{{extended}}</p> |
86 | 126 | <h4 id="alternatetitle">Alternate definitions</h4> |
87 | 127 | <div id="alternate-definitions">{{alternateDef}}</div> |
88 | 128 | <p id="termsource"><strong>Term source:</strong> {{termSource}}</p> |
89 | 129 | <p id="date"> |
90 | | - <strong>Date first recorded to wordsofweb3:</strong> |
91 | | - {{dateFirstRecorded}} |
| 130 | + <strong>Date first recorded:</strong> {{dateFirstRecorded}} |
92 | 131 | </p> |
93 | 132 | <h4 id="commentary">Commentary</h4> |
94 | 133 | <p>{{commentary}}</p> |
95 | | - <br /> |
96 | | - <br /> |
97 | | - <div id="contribute"></div> |
98 | | - <h2>Does this need to be better?</h2> |
| 134 | + </div> |
| 135 | + </div> |
| 136 | + |
| 137 | + <!-- Call to Action Card --> |
| 138 | + <div class="card mb-4" id="call-to-action"> |
| 139 | + <div class="card-body text-center"> |
| 140 | + <h2 id="contribute">Does this need to be better?</h2> |
99 | 141 | <p> |
100 | | - This glossary only gets good, and stays good, if we all complain. If |
101 | | - you have a suggestion, open an issue |
| 142 | + This glossary only gets good if we all complain. If you have a |
| 143 | + suggestion, open an issue |
102 | 144 | <a href="https://github.com/mapachurro/wordsofweb3/issues" |
103 | 145 | >on this project's GitHub repo.</a |
104 | 146 | > |
105 | 147 | </p> |
106 | 148 | </div> |
107 | 149 | </div> |
108 | | - |
109 | | - <!-- Language Links Card --> |
110 | | - <div class="card mb-4"> |
111 | | - <div class="card-body"> |
112 | | - <h5 class="card-title">Read this entry in:</h5> |
113 | | - <p>{{languageLinks}}</p> |
114 | | - </div> |
115 | | - </div> |
116 | 150 | </main> |
117 | 151 |
|
118 | 152 | <!-- Footer --> |
119 | | - <footer class="text-center mt-4"> |
| 153 | + <footer class="text-center" id="footer"> |
120 | 154 | <p> |
121 | 155 | wordsofweb3 glossary © 2024 by Education DAO is licensed under CC |
122 | 156 | BY-NC-ND 4.0. To view a copy of this license, visit |
123 | | - https://creativecommons.org/licenses/by-nc-nd/4.0/ |
| 157 | + <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/" |
| 158 | + >this link</a |
| 159 | + >. |
124 | 160 | </p> |
125 | 161 | </footer> |
126 | 162 | </body> |
|
0 commit comments