File tree Expand file tree Collapse file tree 2 files changed +98
-3
lines changed
Expand file tree Collapse file tree 2 files changed +98
-3
lines changed Original file line number Diff line number Diff line change 1+ # Build Hugo site and push to page branch
2+ name : Build Hugo Site
3+
4+ on :
5+ push :
6+ branches : ["main"]
7+ pull_request :
8+ branches : ["main"]
9+ workflow_dispatch :
10+
11+ permissions :
12+ contents : write
13+
14+ defaults :
15+ run :
16+ shell : bash
17+
18+ jobs :
19+ build :
20+ runs-on : ubuntu-latest
21+ env :
22+ HUGO_VERSION : 0.154.1
23+ steps :
24+ - name : Checkout
25+ uses : actions/checkout@v4
26+ with :
27+ fetch-depth : 0
28+ submodules : recursive
29+
30+ - name : Setup Go
31+ uses : actions/setup-go@v5
32+ with :
33+ go-version : ' 1.25'
34+
35+ - name : Setup Node.js
36+ uses : actions/setup-node@v4
37+ with :
38+ node-version : ' 24'
39+
40+ - name : Install npm dependencies
41+ run : npm ci --prefer-offline --no-audit
42+
43+ - name : Setup Hugo
44+ run : |
45+ wget -q -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
46+ && sudo dpkg -i ${{ runner.temp }}/hugo.deb
47+
48+ - name : Build with Hugo
49+ env :
50+ HUGO_ENVIRONMENT : production
51+ HUGO_ENV : production
52+ run : hugo --gc --minify
53+
54+ - name : Deploy to page branch
55+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
56+ uses : peaceiris/actions-gh-pages@v4
57+ with :
58+ github_token : ${{ secrets.GITHUB_TOKEN }}
59+ publish_branch : page
60+ publish_dir : ./public
61+ force_orphan : true
62+ user_name : ' github-actions[bot]'
63+ user_email : ' github-actions[bot]@users.noreply.github.com'
64+ commit_message : ' deploy: ${{ github.sha }}'
Original file line number Diff line number Diff line change 6363 Base Styles
6464 ============================================ */
6565
66+ /* Ensure html and body have no gaps and match hero background */
67+ html {
68+ background : var (--pigsty-dark );
69+ }
70+
71+ body .landing-page {
72+ margin : 0 ;
73+ padding : 0 ;
74+ font-family : var (--font-sans );
75+ line-height : 1.6 ;
76+ color : var (--pigsty-gray-100 );
77+ background : var (--pigsty-dark );
78+ overflow-x : hidden;
79+ }
80+
6681.landing-page {
6782 font-family : var (--font-sans );
6883 line-height : 1.6 ;
159174}
160175
161176.landing-header .scrolled {
162- background : rgba (15 , 20 , 25 , 0.95 );
163- backdrop-filter : blur (10px );
164- border-bottom : 1px solid rgba (255 , 255 , 255 , 0.05 );
177+ background : rgba (15 , 20 , 25 , 0.98 );
178+ backdrop-filter : blur (12px );
179+ -webkit-backdrop-filter : blur (12px );
180+ box-shadow : 0 1px 3px rgba (0 , 0 , 0 , 0.3 );
165181}
166182
167183.landing-nav {
20762092 font-size : 0.85rem ;
20772093}
20782094
2095+ .footer-copyright a {
2096+ color : inherit;
2097+ text-decoration : none;
2098+ }
2099+
2100+ .footer-icp a {
2101+ color : var (--pigsty-gray-500 );
2102+ text-decoration : none;
2103+ transition : color var (--transition-fast );
2104+ }
2105+
2106+ .footer-icp a : hover {
2107+ color : var (--pigsty-gray-300 );
2108+ }
2109+
20792110.footer-lang-switch a {
20802111 color : var (--pigsty-gray-400 );
20812112 text-decoration : none;
You can’t perform that action at this time.
0 commit comments