Skip to content

Commit

Permalink
Broken links?
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Jul 11, 2022
1 parent d3ec0e2 commit fb03027
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 194 deletions.
98 changes: 36 additions & 62 deletions packages/bun-landing/public/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ header {
font-size: 1.2rem;
}

nav {
.Navigation ul {
white-space: nowrap;
display: flex;
gap: 2rem;
Expand Down Expand Up @@ -162,27 +162,24 @@ header {
background: #15140e;
padding: 24px 24px;
border-radius: 24px;
user-select: none;
-webkit-user-select: none;
-webkit-user-drag: none;
-moz-user-select: none;
}

#install-label-heading {
.InstallBox-label-heading {
font-size: 1.4rem;
margin-bottom: 1rem;
font-weight: 500;
font-weight: 500;
}

#install-label-subtitle {
.InstallBox-label-subtitle {
font-size: 0.9rem;
color: var(--orange-light);
}

.unselectable {
user-select: none;
-webkit-user-select: none;
-webkit-user-drag: none;
-moz-user-select: none;
}

#usecases-section {
background: linear-gradient(12deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2)),
conic-gradient(
Expand Down Expand Up @@ -226,7 +223,7 @@ header {
padding: 0;
}

#code-box {
.InstallBox-code-box {
background-color: rgb(37, 36, 32);
padding: 4px 16px;
position: relative;
Expand All @@ -243,12 +240,18 @@ header {
font-family: var(--monospace-font);
}

#curl:hover {
cursor: text;
.InstallBox-curl {
user-select: all;
-webkit-user-select: text;
pointer-events: auto;
white-space: nowrap;
cursor: text;
display: inline-flex;
padding: 12px 8px;
gap: 2ch;
}

#curl::before {
.InstallBox-curl::before {
display: block;
content: "$" / "";
color: var(--orange);
Expand All @@ -257,22 +260,11 @@ header {
height: 1ch;
}

#curl {
user-select: all;
-webkit-user-select: text;
pointer-events: auto;
white-space: nowrap;
cursor: text;
display: inline-flex;
padding: 12px 8px;
gap: 2ch;
}

#view-source-link {
.InstallBox-view-source-link {
color: var(--orange-light);
}

#code-box-copy {
.InstallBox-copy {
height: 100%;
display: flex;
align-items: center;
Expand All @@ -287,12 +279,12 @@ header {
font-family: inherit;
}

#code-box-copy:hover {
.InstallBox-copy:hover {
color: var(--blue);
transform: scale(1.06);
}

#code-box-copy:active {
.InstallBox-copy:active {
transform: scale(1.12);
}

Expand All @@ -305,36 +297,26 @@ header {
align-items: center;
width: min-content;
white-space: nowrap;
list-style-type: none;
padding: 0;
}

.Tab {
width: min-content;
border: none;
background-color: transparent;
font-family: var(--monospace-font);
text-align: center;
padding-bottom: 8px;
border-bottom: 1px solid #ccc;
cursor: pointer;
padding: 0;
}

.TabButton {
background: transparent;
border: none;
padding: 16px 16px;
padding: 16px;
color: inherit;
font-size: inherit;
font-family: inherit;
cursor: inherit;
}

.TabButton[data-tab="react"]:hover,
.Graphs--active-react .TabButton[data-tab="react"],
.TabButton[data-tab="sqlite"]:hover,
.Graphs--active-sqlite .TabButton[data-tab="sqlite"],
.TabButton[data-tab="ffi"]:hover,
.Graphs--active-ffi .TabButton[data-tab="ffi"] {
.Tab:hover,
.Graphs--active-react .Tab[data-tab="react"],
.Graphs--active-sqlite .Tab[data-tab="sqlite"],
.Graphs--active-ffi .Tab[data-tab="ffi"] {
border-bottom-color: aquamarine;
background-color: rgba(130, 216, 247, 0.1);
border-right-color: aquamarine;
Expand Down Expand Up @@ -564,16 +546,12 @@ header {
background-color: var(--background);
border-radius: 8px;
padding: 3px 8px;
color: white;
color: black;
text-decoration: none !important;
display: inline-block;
font-family: var(--monospace-font) !important;
}

.Tag:visited {
color: white;
}

.mono {
font-family: var(--monospace-font);
}
Expand All @@ -597,7 +575,6 @@ header {

.Tag--WebAPI {
--background: #29b6f6;
color: white;
box-shadow: inset -1px -1px 3px rgb(231, 187, 73);
}

Expand All @@ -607,6 +584,7 @@ header {

.Tag--TypeScript {
--background: rgb(69, 119, 192);
color: white;
}

.Tag--React {
Expand All @@ -625,7 +603,8 @@ header {
}

.Tag--Bun {
--background: #ff17ff;
--background: #e600e5;
color: white;
}

.mono {
Expand Down Expand Up @@ -701,7 +680,7 @@ header {
gap: 1rem;
}

#install {
.InstallBox {
margin-top: 0;
}

Expand All @@ -720,11 +699,11 @@ header {
}

@media (max-width: 599px) {
#code-box-copy {
.InstallBox-copy {
display: none;
}

#code-box {
.InstallBox-code-box {
font-size: 0.8rem;
}
}
Expand Down Expand Up @@ -801,7 +780,7 @@ header {
}

@media (max-width: 929px) {
#code-box {
.InstallBox-code-box {
width: fit-content;
}

Expand Down Expand Up @@ -866,11 +845,6 @@ header {
border-bottom-color: #333;
}

.TabButton {
padding-top: 16px;
padding-bottom: 16px;
}

#pitch-content {
max-width: 100%;
}
Expand Down
Loading

0 comments on commit fb03027

Please sign in to comment.