Skip to content

Commit

Permalink
#344 - udpate css files
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo committed Aug 30, 2023
1 parent 08c59c9 commit 5dad200
Show file tree
Hide file tree
Showing 4 changed files with 237 additions and 2 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion public/cosmos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap"
rel="stylesheet" />
<link href="/sub-app.css" rel="stylesheet">
<link href="index.css" rel="stylesheet">
<link href="https://sebastianscatularo.github.io/tmp-js-host-wc/main.7499d3ce.css" rel="stylesheet">
<title>Cosmos</title>
</head>
Expand Down
235 changes: 235 additions & 0 deletions public/sui/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,235 @@
html {
-webkit-locale: "en";
box-sizing: border-box;
-webkit-font-smoothing: antialiased;
--vh: 10.01px;
}

body {
box-sizing: inherit;
color: #ffffff;
margin: 0;
font-size: 0.8125rem;
font-family: "Poppins", sans-serif;
font-weight: 400;
line-height: 1.43;
background-size: 120%;
background-color: #17153f;
background-image: url(/static/media/bg.7f578c3eb1b9a700a83d6113bf1579e0.svg);
background-repeat: repeat-y;
background-position: top center;
overscroll-behavior-y: none;
}

.root {
box-sizing: inherit;
}

.container {
box-sizing: inherit;
display: flex;
overflow: hidden;
position: relative;
min-height: 100vh;
flex-direction: column;
}

.cctp-banner {
box-sizing: inherit;
width: 100%;
display: flex;
padding: 4px 16px;
font-size: 16px;
background: linear-gradient(20deg, #f44b1b 0%, #eeb430 100%);
min-height: 56px;
text-align: center;
align-items: center;
font-weight: 500;
letter-spacing: 0.02em;
justify-content: center;
}

.cosmos-banner {
box-sizing: inherit;
width: 100%;
display: flex;
padding: 4px 16px;
font-size: 16px;
background: linear-gradient(1deg, #9577F4 0%, #AD55DA 28.96%, #CA2EBD 100%);
min-height: 56px;
text-align: center;
align-items: center;
font-weight: 500;
letter-spacing: 0.02em;
justify-content: center;
}

.cosmos-link {
text-align: center;
box-sizing: inherit;
margin: 0;
text-decoration: none;
color: #17153F;
display: inline-flex;
padding: 6px 12px;
font-size: 12px;
min-width: fit-content;
min-height: 32px;
align-items: center;
font-weight: 600;
margin-left: 8px;
border-radius: 20px;
letter-spacing: 0.08em;
background-color: white;
}

.cctp-link {
text-align: center;
box-sizing: inherit;
margin: 0;
text-decoration: none;
color: #f47b48;
display: inline-flex;
padding: 6px 12px;
font-size: 12px;
min-width: fit-content;
min-height: 32px;
align-items: center;
font-weight: 600;
margin-left: 8px;
border-radius: 20px;
letter-spacing: 0.08em;
background-color: white;
}

.header {
transition: box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
box-shadow: none;
width: 100%;
display: flex;
z-index: 1100;
box-sizing: border-box;
flex-shrink: 0;
flex-direction: column;
position: static;
color: inherit;
background: transparent;
margin-top: 16px;
}

.header-inner {
color: inherit;
box-sizing: inherit;
display: flex;
position: relative;
align-items: center;
padding-left: 24px;
padding-right: 24px;
min-height: 64px;
width: 100%;
margin: auto;
max-width: 1440px;
}

.logo-link {
display: inline-flex;
align-items: center;
}
.logo-link:hover {
text-decoration: none;
}

.logo {
height: 68px;
vertical-align: middle;
margin-right: 8px;
display: inline-block;
}
.logo:hover {
filter: contrast(1);
}

.spacer {
flex: 1;
width: 100vw;
}

/* .links-list {} */
@media (max-width: 599.95px) {
.links-list {
display: none;
}

.help-container {
display: block;
}
}

@media (min-width: 600px) {
.links-list {
display: flex;
}

.help-container {
display: none;
}
}

@font-face {
font-family: "Suisse BP Intl";
src: url("SuisseBPIntlBold.woff2");
}

.links-list-inner {
display: flex;
align-items: center;
}

.link {
margin: 0;
text-decoration: none;
color: white;
font-size: 0.8125rem;
font-family:
Suisse BP Intl,
sans-serif;
font-weight: 600;
line-height: 1.43;
text-underline-offset: 6px;
margin-left: 32px;
}
.active {
text-decoration: underline;
}

/* .help-container {} */
/* .help-link {} */
.help-label {
color: white;
}
.help-icon {
fill: currentColor;
width: 1em;
height: 1em;
display: inline-block;
font-size: 1.3928571428571428rem;
transition: fill 200ms cubic-bezier(0.4, 0, 0.2, 1) 0ms;
flex-shrink: 0;
user-select: none;
}

.footer {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 15px;
}

.footer-link {
color: white;
text-decoration: underline;
}

.footer-link:visited {
color: white;
}
2 changes: 1 addition & 1 deletion public/sui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap"
rel="stylesheet"
/>
<link href="/sub-app.css" rel="stylesheet">
<link href="index.css" rel="stylesheet">
<link href="https://www.unpkg.com/@wormhole-foundation/[email protected]/dist/main.css" rel="stylesheet">
<title>SUI Token Bridge</title>
</head>
Expand Down

0 comments on commit 5dad200

Please sign in to comment.