krz/hutch

an ios client for sourcehut

clone: git clone https://gitbay.org/krz/hutch.git

v2.1: website/styles.css · raw

  1body {
  2  font-family: system-ui;
  3  background: #f3f3f1;
  4  margin: 0;
  5}
  6
  7a,
  8a:visited {
  9  color: blue
 10}
 11
 12img {
 13  max-width: 100%
 14}
 15
 16.page {
 17  max-width: 900px;
 18  margin: 0 auto;
 19  padding: 16px;
 20}
 21
 22.privacy,
 23.site-header,
 24.content-grid,
 25.screenshots,
 26.resources {
 27  border: 1px solid #ddd;
 28  background: white;
 29  margin-bottom: 16px;
 30  padding: 20px;
 31}
 32
 33.brand-row {
 34  display: flex;
 35  justify-content: space-between;
 36}
 37
 38.brand, .brand h1, .brand p {
 39  color: black;
 40  text-decoration: none;
 41}
 42
 43.brand {
 44  display: flex;
 45  gap: 16px;
 46  align-items: center;
 47}
 48
 49.brand h1 {
 50  margin: 0;
 51}
 52
 53.brand p {
 54  margin-top: 0;
 55  opacity: 0.6;
 56}
 57
 58.app-icon {
 59  width: 80px;
 60  border-radius: 18px;
 61  border: 1px solid rgba(0, 0, 0, 0.08);
 62  box-shadow:
 63    0 1px 2px rgba(0, 0, 0, 0.06),
 64    0 4px 12px rgba(0, 0, 0, 0.08);
 65}
 66
 67.hero-actions {
 68  text-align: right;
 69}
 70
 71.store-img {
 72  height: 40px;
 73  padding-bottom: 0.5rem;
 74}
 75
 76.header-links {
 77  font-size: 14px;
 78}
 79
 80.intro-copy {
 81  margin-top: 16px;
 82}
 83
 84.lede {
 85  padding-top: 1rem;
 86  font-weight: bold;
 87}
 88
 89.content-grid {
 90  display: grid;
 91  grid-template-columns: 1fr 1fr;
 92}
 93
 94.content-grid div:first-child {
 95  padding-right: 0.5rem;
 96}
 97
 98.content-grid div:last-child {
 99  padding-left: 0.5rem;
100}
101
102.shot-grid {
103  display: grid;
104  grid-template-columns: repeat(3, 1fr);
105  gap: 10px;
106}
107
108.resource-list {
109  display: flex;
110  flex-direction: column;
111  gap: 6px;
112}
113
114.privacy h2 {
115  margin: 0 0 20px;
116  font-size: 28px;
117  line-height: 1.1;
118}
119
120.privacy h3 {
121  margin: 24px 0 8px;
122  font-size: 18px;
123  line-height: 1.2;
124}
125
126.privacy p {
127  margin: 0 0 14px;
128  line-height: 1.45;
129}
130
131.privacy ul {
132  margin: 0 0 14px;
133  padding-left: 0;
134  list-style: none;
135}
136
137.privacy li {
138  padding-left: 1em;
139  text-indent: -1em;
140}
141
142.privacy li::before {
143  content: "- ";
144}
145
146.privacy a:hover {
147  text-decoration: underline;
148}