Widget
Glossary
No edit summary Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 4: | Line 4: | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
padding: 10px; | padding: 10px; | ||
padding-bottom: 40px; | |||
background-color: #f9f9f9; | background-color: #f9f9f9; | ||
box-shadow: 0 2px 4px rgba(0,0,0,0.1); | |||
min-height: 200px; | |||
max-width: 30%; | max-width: 30%; | ||
position: relative; | |||
} | } | ||
Line 18: | Line 21: | ||
font-size: 14px; | font-size: 14px; | ||
color: #666; | color: #666; | ||
margin-bottom: | margin-bottom: 30px; | ||
overflow: hidden; | |||
} | } | ||
.read-more { | .read-more { | ||
position: absolute; | |||
bottom: 10px; | |||
right: 10px; | |||
font-size: 14px; | font-size: 14px; | ||
color: #0066cc; | color: #0066cc; | ||
Line 33: | Line 40: | ||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||
.glossary-item { | .glossary-item { | ||
flex: | flex: 0 0 100%; | ||
padding-bottom: 40px; | |||
} | } | ||
} | } |
Revision as of 12:21, 3 May 2024
<style>
.glossary-item { flex: 0 0 30%; border: 1px solid #ccc; padding: 10px; padding-bottom: 40px; background-color: #f9f9f9; box-shadow: 0 2px 4px rgba(0,0,0,0.1); min-height: 200px; max-width: 30%; position: relative;
}
.glossary-title {
font-size: 18px; color: #333; margin-bottom: 5px;
}
.glossary-content {
font-size: 14px; color: #666; margin-bottom: 30px; overflow: hidden;
}
.read-more {
position: absolute; bottom: 10px; right: 10px; font-size: 14px; color: #0066cc; text-decoration: none;
}
.read-more:hover {
text-decoration: underline;
}
@media (max-width: 768px) {
.glossary-item { flex: 0 0 100%; padding-bottom: 40px; }
} </style>
<a href="" class="read-more">Read more ></a>
This page was edited more than 8 months ago on 05/16/2024. What links here