forked from teamhanko/hanko
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
842de01
commit e57b6f7
Showing
31 changed files
with
1,394 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,6 @@ indent_style = space | |
indent_size = tab | ||
tab_width = 2 | ||
|
||
[{go.mod,go.sum,*.go}] | ||
indent_style = tab | ||
indent_size = 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
@import url("fonts.css"); | ||
|
||
body { | ||
margin: 0; | ||
text-align: center; | ||
font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', | ||
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', | ||
sans-serif; | ||
-webkit-font-smoothing: antialiased; | ||
-moz-osx-font-smoothing: grayscale; | ||
background: url("../img/bg.png") no-repeat center center fixed; | ||
background-size: cover; | ||
} | ||
|
||
.main { | ||
margin-top: 8rem; | ||
} | ||
|
||
.footer { | ||
margin-top: 6rem; | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
flex-direction: column; | ||
} | ||
|
||
.footer img{ | ||
padding-bottom: 2.5rem; | ||
} | ||
|
||
@media screen and (max-height: 667px) { | ||
.main { | ||
margin-top: 1rem; | ||
} | ||
.footer { | ||
margin-top: 2rem; | ||
} | ||
.footer img { | ||
padding-bottom: 1.5rem; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 600px) { | ||
.main { | ||
padding: 0 1.25rem; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
/* inter-regular - latin */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: url('../fonts/inter-v12-latin-regular.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('../fonts/inter-v12-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('../fonts/inter-v12-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('../fonts/inter-v12-latin-regular.woff') format('woff'), /* Modern Browsers */ | ||
url('../fonts/inter-v12-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('../fonts/inter-v12-latin-regular.svg#Inter') format('svg'); /* Legacy iOS */ | ||
} | ||
/* inter-500 - latin */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-weight: 500; | ||
src: url('../fonts/inter-v12-latin-500.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('../fonts/inter-v12-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('../fonts/inter-v12-latin-500.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('../fonts/inter-v12-latin-500.woff') format('woff'), /* Modern Browsers */ | ||
url('../fonts/inter-v12-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('../fonts/inter-v12-latin-500.svg#Inter') format('svg'); /* Legacy iOS */ | ||
} | ||
/* inter-600 - latin */ | ||
@font-face { | ||
font-family: 'Inter'; | ||
font-style: normal; | ||
font-weight: 600; | ||
src: url('../fonts/inter-v12-latin-600.eot'); /* IE9 Compat Modes */ | ||
src: local(''), | ||
url('../fonts/inter-v12-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ | ||
url('../fonts/inter-v12-latin-600.woff2') format('woff2'), /* Super Modern Browsers */ | ||
url('../fonts/inter-v12-latin-600.woff') format('woff'), /* Modern Browsers */ | ||
url('../fonts/inter-v12-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */ | ||
url('../fonts/inter-v12-latin-600.svg#Inter') format('svg'); /* Legacy iOS */ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
@import url("common.css"); | ||
|
||
hanko-auth { | ||
--brand-color-h: 230; | ||
--brand-color-s: 100%; | ||
--brand-color-l: 90%; | ||
|
||
--font-family: "Inter", sans-serif; | ||
--border-radius: 16px; | ||
--input-height: 52px; | ||
} | ||
|
||
hanko-auth::part(input) { | ||
border-radius: 5px; | ||
border-color: #BFC2CD; | ||
} | ||
|
||
hanko-auth::part(container) { | ||
margin: auto; | ||
min-width: 300px; | ||
max-width: 450px; | ||
padding: 20px; | ||
} | ||
|
||
hanko-auth::part(primary-button) { | ||
background-color: #CBD4FF; | ||
color: black; | ||
border-style: none; | ||
border-radius: 5px; | ||
height: 52px; | ||
font-weight: 500; | ||
} | ||
|
||
hanko-auth::part(primary-button):hover { | ||
background-color: #b3beff; | ||
} | ||
|
||
hanko-auth::part(secondary-button) { | ||
background-color: #506CF0; | ||
color: white; | ||
border-style: none; | ||
border-radius: 5px; | ||
height: 52px; | ||
font-weight: 500; | ||
} | ||
|
||
hanko-auth::part(secondary-button):hover { | ||
background-color: #6980f2; | ||
} | ||
|
||
hanko-auth::part(divider) { | ||
border-bottom-color: #BFC2CD; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@import url("common.css"); | ||
|
||
.main { | ||
color: white; | ||
} | ||
|
||
.nav__itemList { | ||
list-style-type: none; | ||
margin: 0; | ||
padding: 0; | ||
overflow: hidden; | ||
} | ||
|
||
.nav__listItem { | ||
float: right; | ||
} | ||
|
||
.nav__link, | ||
.nav__link:visited, | ||
.nav__link:hover, | ||
.nav__link:active { | ||
display: block; | ||
margin: 2.5rem; | ||
color: white; | ||
background-color: transparent; | ||
text-decoration: none; | ||
} | ||
|
||
.nav__link:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
.profile { | ||
min-height: 350px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@import url("common.css"); | ||
|
||
.main { | ||
color: white; | ||
} | ||
|
||
a, | ||
a:visited, | ||
a:hover, | ||
a:active { | ||
display: block; | ||
margin: 2.5rem; | ||
color: white; | ||
background-color: transparent; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover { | ||
text-decoration: underline; | ||
} | ||
|
||
|
Binary file not shown.
Oops, something went wrong.