Files
archived-next-auth/src/css/index.css
Iain Collins ab9d1d0a91 Add log and error page to handle signup errors
This error page will be used to handle display all errors to the client.

There will be an option to provide a custom error page URL.

Update includes some tweaks to CSS.
2020-05-17 17:45:00 +01:00

106 lines
1.4 KiB
CSS

:root {
--primary-color: #444;
}
body {
margin: 1rem;
font-family: sans-serif;
}
h1 {
font-weight: 300;
}
form {
margin: 0;
padding: 0;
}
button,
a.button {
margin: 0;
padding: .5rem 1rem;
border: .1rem solid var(--primary-color);
color: var(--primary-color);
background: #fff;
font-size: 1rem;
border-radius: .2rem;
transition: all .1s ease-in-out;
}
button {
&:hover {
background-color: var(--primary-color);
color: #fff;
cursor: pointer;
}
}
a.button {
text-decoration: none;
&:link,
&:visited {
background-color: #fff;
color: var(--primary-color);
}
&:hover,
&:active {
background-color: var(--primary-color);
color: #fff;
}
}
.page .error {
a.button {
display: inline-block;
}
.message {
margin-bottom: 1rem;
}
}
.page .signin {
a.button {
margin: 0 auto 0 auto;
display: block;
}
p {
margin-bottom: 0.5rem;
}
}
.page {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
> div {
position: absolute;
top: 50%;
left: 50%;
margin: auto;
transform: translateX(-50%) translateY(-50%);
text-align: center;
p {
margin: 0 0 1rem 0;
padding: 0;
font-size: 1rem;
}
a.site {
color: var(--primary-color);
text-decoration: none;
font-size: 1rem;
line-height: 2rem;
&:hover {
text-decoration: underline;
}
}
}
}