mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
3926cc0220
* refactor: CSS variables to use fixit-var for consistency across styles * refactor: reorganize CSS structure and consolidate imports for improved maintainability * refactor: unify CSS variable usage and improve structure across stylesheets * refactor: standardize CSS variable usage for layout * refactor: standardize CSS variable usage for archive and special pages * refactor: standardize CSS variable usage for single page * refactor: standardize CSS variable usage for widgets * refactor(css): refactors the border-radius mixin and adds the .rounded-full utility class * refactor: standardize z-index usage across components * refactor(css): removes deprecated compatibility mixins and replaces them with native CSS properties * feat: unify color variable naming and update theme color values - Rename `global-font-secondary-color` to `global-placeholder-color` for more accurate description of its purpose - Update multiple style references to use the new `secondary` theme color variable - Update theme color mapping to the new color values for improved visual consistency - Fixed the use of search box placeholder colors and removed hard-coded transparency values - Added color preview test documentation for easier verification of color rendering - Cleaned up some duplicate dark mode styles and replaced them with unified CSS variables * refactor: remove the `hr-background-color` variable and uses `global-border-color` uniformly * feat(CSE): add dark theme style to Google CSE search box and results container * fix(task-lists): fixed styling and rendering issues with nested task lists
66 lines
1.2 KiB
SCSS
66 lines
1.2 KiB
SCSS
.taxonomy-cards {
|
|
margin: 0 auto;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
flex-direction: row;
|
|
flex-wrap: wrap;
|
|
line-height: 1.6rem;
|
|
|
|
.card-item {
|
|
font-size: 0.875rem;
|
|
text-align: left;
|
|
width: 45%;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
min-height: 10rem;
|
|
padding: 0 2%;
|
|
position: relative;
|
|
|
|
&:nth-child(n+3){
|
|
margin-top: 2rem;
|
|
}
|
|
|
|
.card-item-wrapper {
|
|
width: 100%;
|
|
overflow: hidden;
|
|
|
|
.card-item-title {
|
|
font-size: 1.2rem;
|
|
font-weight: bold;
|
|
display: inline-block;
|
|
margin-top: 1rem;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
.more-post {
|
|
text-align: right;
|
|
padding-right: 1rem;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.archive-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
box-sizing: border-box;
|
|
margin: 0.25rem 0 0.25rem 1.5rem;
|
|
}
|
|
|
|
.archive-item-link {
|
|
min-width: 10%;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
@include link(true, true);
|
|
}
|
|
|
|
.archive-item-date {
|
|
text-align: right;
|
|
color: fixit-var(secondary);
|
|
white-space: nowrap;
|
|
@extend .variant-numeric;
|
|
}
|