Jaypore CI

> Jaypore CI: Minimal, Offline, Local CI system.
Log | Files | Refs | README

git.style.css (4708B)


      1 /* ── Jaypore CI · shared theme ── used by index.html, binaries.html, and stagit pages ── */
      2 
      3 :root {
      4   --bg:     #fbf9f4;
      5   --ink:    #14110f;
      6   --muted:  #6f6a65;
      7   --line:   #e6dfd2;
      8   --accent: #14110f;
      9 }
     10 
     11 *, *::before, *::after {
     12   box-sizing: border-box;
     13 }
     14 
     15 body {
     16   margin: 0;
     17   padding: 2rem clamp(1rem, 4vw, 3rem) 4rem;
     18   font-family: "iA Writer Quattro", "Inter", "SF Pro", system-ui,
     19     -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
     20   background: var(--bg);
     21   color: var(--ink);
     22   line-height: 1.6;
     23 }
     24 
     25 /* ── centring wrapper (used by stagit pages directly on body, by index.html via <main>) ── */
     26 body, main {
     27   max-width: 1080px;
     28   margin-inline: auto;
     29 }
     30 
     31 /* ── headings ── */
     32 h1, h2, h3, h4, h5, h6 {
     33   margin: 0 0 0.5rem;
     34   line-height: 1.25;
     35 }
     36 
     37 h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 0.75rem; }
     38 h2 { font-size: 1.6rem; }
     39 h3, h4, h5, h6 { font-size: 1rem; }
     40 
     41 img, h1, h2 {
     42   vertical-align: middle;
     43 }
     44 
     45 img {
     46   border: 0;
     47 }
     48 [src="logo.png"], [src="../logo.png"] {
     49 	width: 80px !important;
     50 	height: 80px !important;
     51 }
     52 
     53 p {
     54   margin: 0 0 1rem;
     55 }
     56 
     57 ul {
     58   margin: 0 0 1rem;
     59   padding-left: 1.1rem;
     60 }
     61 
     62 li + li {
     63   margin-top: 0.3rem;
     64 }
     65 
     66 /* ── links ── */
     67 a {
     68   color: var(--ink);
     69   text-decoration: underline;
     70   text-underline-offset: 2px;
     71 }
     72 
     73 a:hover,
     74 a:focus-visible {
     75   color: var(--muted);
     76 }
     77 
     78 a.d,
     79 a.h,
     80 a.i,
     81 a.line {
     82   text-decoration: none;
     83 }
     84 
     85 #blob a {
     86   color: var(--muted);
     87 }
     88 
     89 #blob a:hover {
     90   color: var(--ink);
     91   text-decoration: none;
     92 }
     93 
     94 /* ── tables ── */
     95 
     96 table {
     97   width: 100%;
     98   border-collapse: collapse;
     99   font-size: 0.95rem;
    100 }
    101 
    102 table thead td {
    103   font-weight: 600;
    104   text-transform: uppercase;
    105   font-size: 0.75rem;
    106   letter-spacing: 0.18em;
    107   color: var(--muted);
    108   padding-bottom: 0.5rem;
    109 }
    110 
    111 table td {
    112   padding: 0.35em 0.5em;
    113 }
    114 
    115 #content table td {
    116   vertical-align: top;
    117   white-space: nowrap;
    118   border: 1px solid var(--line);
    119 }
    120 
    121 #branches tr:hover td,
    122 #tags tr:hover td,
    123 #index tr:hover td,
    124 #log tr:hover td,
    125 #files tr:hover td {
    126   background-color: var(--line);
    127 }
    128 
    129 #index tr td:nth-child(2),
    130 #tags tr td:nth-child(3),
    131 #branches tr td:nth-child(3),
    132 #log tr td:nth-child(2) {
    133   white-space: normal;
    134 }
    135 
    136 td.num {
    137   text-align: right;
    138   font-variant-numeric: tabular-nums;
    139 }
    140 
    141 /* ── misc ── */
    142 .desc {
    143   color: var(--muted);
    144 }
    145 
    146 .muted {
    147   color: var(--muted);
    148 }
    149 
    150 hr {
    151   border: 0;
    152   border-top: 1px solid var(--line);
    153   height: 1px;
    154   margin: 2rem 0;
    155 }
    156 
    157 a:target {
    158   background-color: var(--line);
    159 }
    160 
    161 /* ── code / pre ── */
    162 code, pre {
    163   font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
    164   font-size: 0.92em;
    165   background: var(--line);
    166   padding: 2px 4px;
    167   border-radius: 2px;
    168 }
    169 pre code {
    170   padding: 0px;
    171 }
    172 
    173 pre {
    174   padding: 5px 5px;
    175   border-radius: 6px;
    176   overflow-x: auto;
    177   line-height: 1.55;
    178 }
    179 
    180 /* ── diff colours ── */
    181 pre a.h   { color: var(--ink); font-weight: 600; }
    182 
    183 .A,
    184 span.i,
    185 pre a.i   { color: #2d7a3a; }   /* addition  – green, readable on --bg */
    186 
    187 .D,
    188 span.d,
    189 pre a.d   { color: #b93a3a; }   /* deletion  – red,   readable on --bg */
    190 
    191 pre a.h:hover,
    192 pre a.i:hover,
    193 pre a.d:hover {
    194   text-decoration: none;
    195 }
    196 
    197 /* ── index.html landing-page components ── */
    198 header {
    199   margin-bottom: 3rem;
    200 }
    201 
    202 nav {
    203   display: flex;
    204   justify-content: space-between;
    205   align-items: center;
    206   font-size: 0.95rem;
    207   margin-bottom: 2rem;
    208 }
    209 
    210 nav a {
    211   color: var(--muted);
    212   text-decoration: none;
    213   margin-left: 1.25rem;
    214 }
    215 
    216 nav a:hover,
    217 nav a:focus-visible {
    218   color: var(--ink);
    219 }
    220 
    221 .lede {
    222   font-size: 1.1rem;
    223   color: var(--muted);
    224 }
    225 
    226 .button {
    227   display: inline-flex;
    228   align-items: center;
    229   justify-content: center;
    230   padding: 0.75rem 1.5rem;
    231   border: 1px solid var(--ink);
    232   background: transparent;
    233   font-weight: 600;
    234   border-radius: 999px;
    235   cursor: pointer;
    236 }
    237 
    238 .button:focus-visible,
    239 .button:hover {
    240   background: var(--ink);
    241   color: var(--bg);
    242 }
    243 
    244 section + section {
    245   margin-top: 3rem;
    246   padding-top: 3rem;
    247   border-top: 1px solid var(--line);
    248 }
    249 
    250 .label {
    251   display: block;
    252   text-transform: uppercase;
    253   font-size: 0.75rem;
    254   letter-spacing: 0.18em;
    255   color: var(--muted);
    256   margin-bottom: 0.4rem;
    257 }
    258 
    259 .note {
    260   font-size: 0.88rem;
    261   color: var(--muted);
    262 }
    263 
    264 footer {
    265   margin-top: 4rem;
    266   padding-top: 2rem;
    267   border-top: 1px solid var(--line);
    268   font-size: 0.9rem;
    269   color: var(--muted);
    270 }
    271 
    272 @keyframes rzp-shimmer {
    273   0%   { background-position: -340px 0; }
    274   100% { background-position: 340px 0; }
    275 }
    276 
    277 .rzp-skeleton {
    278   border-radius: 10px;
    279   background: linear-gradient(
    280     90deg,
    281     var(--line) 25%,
    282     var(--bg)   50%,
    283     var(--line) 75%
    284   );
    285   background-size: 340px 100%;
    286   animation: rzp-shimmer 1.4s ease-in-out infinite;
    287 }