mirror of
				https://github.com/ZetaKebab/quartz.git
				synced 2025-11-03 22:49:47 +00:00 
			
		
		
		
	Better CSS styling fitting the needs of the project
Bigger sizing mostly, also bigger popovers Readjustment of some components
This commit is contained in:
		@@ -87,21 +87,22 @@ ul.overflow::after, ol.overflow::after {
 | 
			
		||||
            & li {
 | 
			
		||||
                font-size: 1.15rem;
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
            & h1 {
 | 
			
		||||
                font-size: 2rem;
 | 
			
		||||
                margin-top: 1.25rem;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            & h4 {
 | 
			
		||||
                font-size: 1.3rem;
 | 
			
		||||
            & h2 {
 | 
			
		||||
                font-size: 1.7rem;
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            & h3 {
 | 
			
		||||
                font-size: 1.5rem;
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
            & h2 {
 | 
			
		||||
                font-size: 1.7rem;
 | 
			
		||||
            }
 | 
			
		||||
            
 | 
			
		||||
            & h1 {
 | 
			
		||||
                font-size: 2rem;
 | 
			
		||||
 | 
			
		||||
            & h4 {
 | 
			
		||||
                font-size: 1.3rem;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
@@ -112,13 +113,57 @@ ul.overflow::after, ol.overflow::after {
 | 
			
		||||
       }
 | 
			
		||||
 | 
			
		||||
        & .right.sidebar {
 | 
			
		||||
        @media all and (max-width: $fullPageWidth) {
 | 
			
		||||
            margin-top: 0;
 | 
			
		||||
            @media all and (max-width: $fullPageWidth) {
 | 
			
		||||
                margin-top: 0;
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .sidebar {
 | 
			
		||||
            gap: 1rem;
 | 
			
		||||
            margin-top: 1.25rem;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        .sidebar.left {
 | 
			
		||||
            @media all and (min-width: $maxFullPageWidth) {
 | 
			
		||||
                left: calc(50vw - 900px);
 | 
			
		||||
            }
 | 
			
		||||
            @media all and (max-width: $maxFullPageWidth) {
 | 
			
		||||
                left: calc(50vw - 790px);
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
        }
 | 
			
		||||
        .sidebar.right {
 | 
			
		||||
            @media all and (min-width: $maxFullPageWidth) {
 | 
			
		||||
                right: calc(50vw - 900px);
 | 
			
		||||
            }
 | 
			
		||||
            @media all and (max-width: $maxFullPageWidth) {
 | 
			
		||||
                right: calc(50vw - 790px);
 | 
			
		||||
            }
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.page .center, .page footer {
 | 
			
		||||
    @media all and (min-width: $maxFullPageWidth) {
 | 
			
		||||
        width: 950px;
 | 
			
		||||
    }
 | 
			
		||||
    @media all and (max-width: $maxFullPageWidth) {
 | 
			
		||||
        width: 800px;
 | 
			
		||||
    }
 | 
			
		||||
    @media all and (max-width: $mobileBreakpoint) {
 | 
			
		||||
        width: initial;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.page .page-header {
 | 
			
		||||
    margin-top: 0;
 | 
			
		||||
    width: initial;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.breadcrumb-container {
 | 
			
		||||
    margin-top: 1.25rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
hr {
 | 
			
		||||
    margin: 1rem auto;
 | 
			
		||||
}
 | 
			
		||||
@@ -136,6 +181,27 @@ footer {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// Align dark mode and search
 | 
			
		||||
 | 
			
		||||
.page > #quartz-body .sidebar.right {
 | 
			
		||||
    flex-direction: row;
 | 
			
		||||
    gap: 1rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.darkmode.desktop-only {
 | 
			
		||||
    margin:unset;
 | 
			
		||||
    margin-top:0.25rem;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// Bigger popover
 | 
			
		||||
.popover {
 | 
			
		||||
 | 
			
		||||
    & > .popover-inner {
 | 
			
		||||
      width: 45rem;
 | 
			
		||||
      max-height: 45rem;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
// Usage
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -4,6 +4,7 @@ $tabletBreakpoint: 1000px;
 | 
			
		||||
$sidePanelWidth: 380px;
 | 
			
		||||
$topSpacing: 2rem;
 | 
			
		||||
$fullPageWidth: $pageWidth + 2 * $sidePanelWidth;
 | 
			
		||||
$maxFullPageWidth: $fullPageWidth + 250px;
 | 
			
		||||
$boldWeight: 700;
 | 
			
		||||
$semiBoldWeight: 600;
 | 
			
		||||
$normalWeight: 400;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user