Skip to content

Commit

Permalink
Refresh the UI
Browse files Browse the repository at this point in the history
  • Loading branch information
kitallis authored Jun 7, 2023
1 parent 8dca018 commit efe5ef9
Show file tree
Hide file tree
Showing 10 changed files with 382 additions and 227 deletions.
10 changes: 9 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,20 @@
<meta property="og:url" content="https://macige.tramline.app">
<meta property="og:description" content="quickly generate template CI workflow files for mobile apps">
<meta property="og:type" content="website">
<link rel="preconnect" href="https://unpkg.com">
<link rel="stylesheet" href="/public/simple.min.css">
<link rel="stylesheet" href="/public/atom-one-light.min.css">
<link data-trunk rel="copy-dir" href="public/" />
<link data-trunk rel="copy-file" href="public/robots.txt" />
<link rel="stylesheet" href="public/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<script
src="https://ajax.googleapis.com/ajax/libs/webfont/1.6.26/webfont.js"
type="text/javascript"
></script>
<script type="text/javascript">
WebFont.load({ google: { families: ["Montserrat:regular,700,800,900", "Raleway:regular"] } });
</script>
<link rel="apple-touch-icon" sizes="57x57" href="public/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="public/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="public/apple-icon-72x72.png">
Expand Down
Binary file modified public/cover.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/cover_text.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
162 changes: 124 additions & 38 deletions public/style.css
Original file line number Diff line number Diff line change
@@ -1,14 +1,67 @@
:root {
--accent: #161616;
--new-border: 0.115em solid #000;
--bg-texture-color: #f6f6f6;
--bg-texture-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='charlie-brown' fill='%236a4040' fill-opacity='0.11'%3E%3Cpath d='M9.8 12L0 2.2V.8l10 10 10-10v1.4L10.2 12h-.4zm-4 0L0 6.2V4.8L7.2 12H5.8zm8.4 0L20 6.2V4.8L12.8 12h1.4zM9.8 0l.2.2.2-.2h-.4zm-4 0L10 4.2 14.2 0h-1.4L10 2.8 7.2 0H5.8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
:root {
--main-color: rgb(190, 185, 176);
--new-border: 0.115em solid #fff;
--bg-texture-color: #1d2021;
--bg-texture-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='12' viewBox='0 0 20 12'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='charlie-brown' fill='%23a2a2a2' fill-opacity='0.16'%3E%3Cpath d='M9.8 12L0 2.2V.8l10 10 10-10v1.4L10.2 12h-.4zm-4 0L0 6.2V4.8L7.2 12H5.8zm8.4 0L20 6.2V4.8L12.8 12h1.4zM9.8 0l.2.2.2-.2h-.4zm-4 0L10 4.2 14.2 0h-1.4L10 2.8 7.2 0H5.8z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

input[type=checkbox] {
border: var(--new-border);
}

input[type="checkbox"]:checked::after {
border-bottom: solid #81786a .08em;
border-right: solid #81786a .08em;
}

button.cta {
color: #fff;
color: #fff !important;
background-color: hsla(90,99%,35%,0.71) !important;
}

.input-suffix {
color: #fff;
color: var(--bg-texture-color) !important;
background-color: hsla(30,78%,9%,0.22) !important;
border: var(--new-border) !important;
}

a,
a:visited {
color: #dad7d2 !important;
}

a, a:visited {
color: #1298ff;
body {
color: var(--main-color) !important;
background-color: var(--bg-texture-color) !important;
background-image: var(--bg-texture-img) !important;
}

pre.code {
color: #e8e6e3 !important;
background-color: #1d2021 !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23a2a2a2' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E") !important;
}

.notice {
color: #e8e6e3 !important;
background-color: #1d2021 !important;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23a2a2a2' fill-opacity='0.4' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E") !important;
}

input[type="text"], select {
color: var(--main-color) !important;
}

code {
color: var(--main-color) !important;
}
}

Expand All @@ -17,26 +70,37 @@ code {
}

body {
font-family: sans-serif;
background-color: #f6f6f6;
font-family: 'Montserrat', sans-serif;
color: #424242;
overflow: scroll;
background: linear-gradient(rgba(255, 255, 255, .95), rgba(255, 255, 255, .95)), url("/public/cover.webp");
position: relative;
background-color: var(--bg-texture-color);
background-image: var(--bg-texture-img);
}

body > footer {
font-size: 1rem;
}

header {
max-height: 150%;
background: #304050 !important;
background: #161616 !important;
font-family: 'Raleway', sans-serif;
letter-spacing: 0.2rem;
color: #d0ccc8 !important;
box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

ol {
list-style: none;
}

button:focus {
filter: none;
}

header h1 {
font-size: 72px;
font-size: calc(72px + 1rem);
font-weight: 100;
}

Expand All @@ -45,6 +109,12 @@ select {
width: 100%;
line-height: 1.6 !important;
padding-right: 0 !important;
color: black;
border: var(--new-border);
}

input[type=checkbox] {
border: var(--new-border);
}

select:focus {
Expand All @@ -63,23 +133,23 @@ p {
}

pre.code {
border-radius: 4px;
border: 1px solid #282b2e;
position: relative;
border-radius: 4px;
border: var(--new-border);
background-color: #f5f7ff;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23c8bfb7' fill-opacity='0.64' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

pre.code label {
font-family: inherit;
font-weight: bold;
font-size: 13px;
font-size: 14px;
position: absolute;
left: 1px;
top: 15px;
text-align: center;
width: 60px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
pointer-events: none;
}

Expand All @@ -90,14 +160,17 @@ pre.code code {
padding: 0 16px 14px;
border-left: 1px solid #555;
overflow-x: auto;
font-size: 13px;
font-size: 14px;
line-height: 19px;
}

button.cta {
font-family: inherit !important;
font-size: 1em !important;
background-color: rgb(161, 85, 56) !important;
background-color: #89c74b;
border-radius: 100vw;
color: black;
border: var(--new-border);
}

button.copy {
Expand All @@ -112,13 +185,24 @@ input#output-path {
border-bottom-right-radius: 0 !important;
}

.section {
margin-bottom: 2em;
}

.notice {
background: var(--accent-bg);
border: 2px solid var(--border);
border-radius: 5px;
padding: 1.5rem;
margin: 2rem 0;
border: var(--new-border);
padding: 0 2rem 2rem 2rem;
color: var(--text-light);
border-radius: 4px;
background-color: #f5f7ff;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Cpath fill='%23c8bfb7' fill-opacity='0.64' d='M1 3h1v1H1V3zm2-2h1v1H3V1z'%3E%3C/path%3E%3C/svg%3E");
}

.notice h3 {
text-decoration-style: wavy;
text-decoration-line: underline;
text-underline-offset: 0.3em;
padding-bottom: 0.3em;
}

.upcase {
Expand All @@ -128,7 +212,7 @@ input#output-path {
.copy-to-clipboard {
display: flex;
justify-content: right;
gap: 1em;
gap: 0.5em;
align-items: center;
}

Expand All @@ -137,8 +221,11 @@ input#output-path {
grid-template-columns: repeat(6, 1fr);
grid-column-gap: 0.5em;
column-gap: 0.5em;
margin-bottom: 0.5rem;
margin-bottom: 0.8rem;
}

.pickers label {
margin-bottom: 0.2vw;
}

.picker-wide {
Expand All @@ -149,7 +236,6 @@ input#output-path {
grid-column: span 4;
}


@media screen and (max-width: 600px) {
.pickers {
display: grid;
Expand Down Expand Up @@ -182,7 +268,6 @@ input#output-path {
input.build-variant {
position: relative;
width: 100%;
border: none;
margin-bottom: 0 !important;
width: 90%;
line-height: 0.1em;
Expand All @@ -191,18 +276,20 @@ input.build-variant {
.input-suffix {
vertical-align: middle;
position: relative;
padding: 15px 15px 15px 15px;
padding: 15px;
border-color: #000;
border-width: 0.115em 0.12em 0.12em 0;
border-style: solid;
border-radius: 0px 4px 4px 0px;
background-color: rgb(161, 85, 56) !important;
opacity: 0.9;
color: var(--bg);
background-color: #d0ccc8 !important;
color: black;
}

.logo {
padding: 5px;
background-color: #d0ccc8;
margin-left: 0.3em;
margin-bottom: 0.1em;
margin-bottom: 0.06em;
}

mark {
Expand All @@ -227,13 +314,12 @@ mark {
}

.mt-header {
margin-top: 1em;
margin-top: 0.5em;
}

.subheading {
font-weight: bold;
text-underline-offset: 0.3em;

}

h4 {
Expand Down Expand Up @@ -261,12 +347,12 @@ h4 {
}
}

@media (max-width:500px) {
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none
animation: none;
}

.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out
header h1 {
font-size: 64px;
}
}
Loading

0 comments on commit efe5ef9

Please sign in to comment.