aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/styles/shared.ts
blob: d1b02320de219994ecc1b40e50ab507f2d061afc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
import styled from "styled-components";
import Link from "next/link";

export const Root = styled.div`
  min-height: 100vh;
  background-color: #f9f9f9;
  color: #1a1a1a;
  font-family: "Roboto", "Segoe UI", Arial, sans-serif;
`;

export const Navbar = styled.nav`
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  padding: 0 20px;
  background-color: #ffffffee;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e5e5;
`;

export const Logo = styled(Link)`
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #1a1a1a;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  user-select: none;
`;

export const LogoIcon = styled.span`
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1a1a1a;
  color: #fff;
  border-radius: 6px;
  width: 30px;
  height: 22px;
  font-size: 10px;
`;

export const NavLink = styled(Link)`
  font-size: 13px;
  font-weight: 500;
  color: #606060;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background-color 0.15s, color 0.15s;
  &:hover {
    background-color: #f0f0f0;
    color: #1a1a1a;
  }
`;

export const NavCtaLink = styled(Link)`
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  background-color: #f5f5f5;
  border: 1px solid #e5e5e5;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  &:hover {
    background-color: #ededed;
    border-color: #d4d4d4;
    color: #1a1a1a;
  }
`;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage