File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ /* Make .container and #main-content purely semantic - no styling */
2+
3+ /* Remove padding from container */
4+ .container {
5+ padding : 0 !important ;
6+ /* Keep the max-width and centering for layout purposes */
7+ /* but remove any visual styling */
8+ }
9+
10+ /* Ensure main-content has no padding */
11+ # main-content {
12+ padding : 0 !important ;
13+ margin : 0 !important ;
14+ }
15+
16+ /* Optional: If you want to add padding back to specific pages/sections,
17+ you can use more specific selectors like:
18+ .gdoc-markdown { padding: 1.25rem; }
19+ or add a wrapper div with padding inside your content
20+ */
21+
22+ /* Note: You may want to add padding to specific content areas instead
23+ For example: */
24+ .content-wrapper {
25+ padding : 1.25rem ;
26+ }
27+
28+ /* Or add padding only to article content */
29+ article .gdoc-post {
30+ padding : 1.25rem ;
31+ }
32+
33+ /* Keep padding for markdown content if desired */
34+ .gdoc-markdown {
35+ /* Uncomment if you want to restore padding for markdown content */
36+ /* padding: 1.25rem; */
37+ }
Original file line number Diff line number Diff line change 3131 < link rel ="stylesheet " href ="{{ $pennAICSS.RelPermalink }} ">
3232{{ end }}
3333
34+ <!-- Semantic Content - Remove padding from container and main-content -->
35+ {{ $semanticCSS := resources.Get "css/semantic-content.css" }}
36+ {{ if $semanticCSS }}
37+ < link rel ="stylesheet " href ="{{ $semanticCSS.RelPermalink }} ">
38+ {{ end }}
39+
3440<!-- Penn Gradient Settings -->
3541{{/* Get site-wide default settings */}}
3642{{ $siteSettings := .Site.Params.pennGradient | default dict }}
You can’t perform that action at this time.
0 commit comments