Glossary
No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
Line 2: Line 2:
   .glossary-item {
   .glossary-item {
     box-sizing: border-box;
     box-sizing: border-box;
     width: 50%;
     flex: 0 1 calc(50% - 20px); /* Sets the item to take up half of the container width minus the gap */
    max-width: 600px;
     border: 1px solid #000;
     border: 1px solid #000;
     padding: 20px;
     padding: 20px;
     margin-bottom: 20px;
     margin-bottom: 20px;
    margin-right: auto;
    margin-left: auto;
     display: flex;
     display: flex;
     flex-direction: column;
     flex-direction: column;

Revision as of 13:03, 26 April 2024

<style>

 .glossary-item {
   box-sizing: border-box;
   flex: 0 1 calc(50% - 20px); /* Sets the item to take up half of the container width minus the gap */
   border: 1px solid #000;
   padding: 20px;
   margin-bottom: 20px;
   display: flex;
   flex-direction: column;
 }

.glossary-title {

   font-weight: bold;
 }

.glossary-content {

   margin-top: 10px;
   flex-grow: 1;
 }

.read-more {

   display: block;
   margin-top: 10px;
   text-align: right;
   text-decoration: none;
   color: #000;
 }

@media (min-width: 768px) {

   .glossary-item {
     width: 48%;
   }
 }
target {
   padding-top: 50px;
   margin-top: -50px;
   display: block;
 }

</style>

 <a href="" class="read-more">Read more ></a>
This page was edited 5 days ago on 05/03/2024. What links here