epicyon/epicyon-login.css

247 lines
5.6 KiB
CSS
Raw Normal View History

2019-08-10 18:22:28 +00:00
@charset "UTF-8";
:root {
2020-11-26 14:05:10 +00:00
--login-bg-color: #282c37;
2020-05-28 13:06:07 +00:00
--link-bg-color: #282c37;
--login-fg-color: #dddddd;
2019-08-11 13:02:36 +00:00
--main-link-color: #999;
--main-visited-color: #888;
2019-08-10 18:22:28 +00:00
--border-color: #505050;
2020-05-28 13:27:25 +00:00
--border-width: 2px;
2019-08-10 18:22:28 +00:00
--font-size-header: 18px;
--font-color-header: #ccc;
2020-10-29 10:18:33 +00:00
--login-font-size: 22px;
--login-font-size-mobile: 40px;
2019-08-11 13:02:36 +00:00
--text-entry-foreground: #ccc;
--text-entry-background: #111;
2019-09-11 20:29:47 +00:00
--time-color: #aaa;
--button-text: #FFFFFF;
--button-background: #999;
--button-selected: #666;
2019-10-19 21:45:26 +00:00
--form-border-radius: 30px;
2020-08-14 20:14:26 +00:00
--focus-color: white;
2020-09-16 08:30:45 +00:00
--line-spacing: 130%;
2020-10-29 10:18:33 +00:00
--login-logo-width: 20%;
2020-11-24 18:00:29 +00:00
--main-link-color-hover: #bbb;
2021-02-18 13:23:33 +00:00
--rendering: normal;
2019-08-10 18:22:28 +00:00
}
2020-09-14 14:00:49 +00:00
@font-face {
font-family: 'Bedstead';
font-style: italic;
font-weight: normal;
font-display: block;
src: url('./fonts/bedstead.otf') format('opentype');
}
2020-05-25 11:33:37 +00:00
@font-face {
font-family: 'Bedstead';
font-style: normal;
font-weight: normal;
2020-07-12 19:36:29 +00:00
font-display: block;
2020-05-25 11:33:37 +00:00
src: url('./fonts/bedstead.otf') format('opentype');
}
2019-07-25 19:56:25 +00:00
body, html {
2020-11-26 14:05:10 +00:00
background-color: var(--login-bg-color);
color: var(--login-fg-color);
2019-08-10 18:22:28 +00:00
2020-07-25 19:07:06 +00:00
background-image: url("/login-background.jpg");
2020-07-25 13:52:55 +00:00
background-size: cover;
-webkit-background-size: cover;
-moz-background-size: cover;
background-repeat: no-repeat;
background-position: center;
2019-08-10 18:22:28 +00:00
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: 60%;
min-width: 600px;
margin: 0 auto;
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size);
2020-09-15 09:30:38 +00:00
line-height: var(--line-spacing);
2021-02-18 13:23:33 +00:00
image-rendering: var(--rendering);
2019-08-10 18:22:28 +00:00
}
a, u {
color: var(--login-fg-color);
2019-08-10 18:22:28 +00:00
}
a:visited{
color: var(--main-visited-color);
2020-05-28 13:06:07 +00:00
background: var(--link-bg-color);
2020-11-24 18:00:29 +00:00
font-weight: normal;
2020-11-24 20:02:15 +00:00
text-decoration: none;
2019-08-10 18:22:28 +00:00
}
a:link {
color: var(--main-link-color);
2020-05-28 13:06:07 +00:00
background: var(--link-bg-color);
2020-11-24 18:00:29 +00:00
font-weight: normal;
2020-11-24 20:02:15 +00:00
text-decoration: none;
2020-11-24 18:00:29 +00:00
}
a:link:hover {
color: var(--main-link-color-hover);
}
a:visited:hover {
color: var(--main-link-color-hover);
2019-07-25 19:56:25 +00:00
}
2020-08-14 20:14:26 +00:00
a:focus {
border: 2px solid var(--focus-color);
}
2019-07-25 19:56:25 +00:00
form {
2020-05-28 13:27:25 +00:00
border: var(--border-width) solid var(--border-color);
2019-10-19 21:45:26 +00:00
border-radius: var(--form-border-radius);
2019-07-25 19:56:25 +00:00
}
2021-02-06 14:40:59 +00:00
.transparent {
color: transparent;
background: transparent;
font-size: 0px;
line-height: 0px;
height: 0px;
}
2019-07-25 19:56:25 +00:00
input[type=text], input[type=password] {
2019-08-10 18:22:28 +00:00
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size);
2020-05-25 12:28:06 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-07-25 19:56:25 +00:00
}
button {
2019-09-11 20:29:47 +00:00
background-color: var(--button-background);
color: var(--button-text);
2019-08-10 18:22:28 +00:00
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size);
2020-05-25 12:28:06 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-07-25 19:56:25 +00:00
}
.login-text {
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size);
2020-05-25 12:28:06 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-07-25 19:56:25 +00:00
}
button:hover {
2019-08-10 18:22:28 +00:00
opacity: 0.8;
2019-07-25 19:56:25 +00:00
}
.imgcontainer {
2019-08-10 18:22:28 +00:00
text-align: center;
margin: 24px 0 12px 0;
2019-07-25 19:56:25 +00:00
}
2020-10-29 10:18:33 +00:00
.imgcontainer img {
width: var(--login-logo-width);
}
2019-07-25 19:56:25 +00:00
img.avatar {
2019-08-10 18:22:28 +00:00
width: 40%;
border-radius: 50%;
2019-07-25 19:56:25 +00:00
}
.container {
2019-08-10 18:22:28 +00:00
padding: 16px;
2019-07-25 19:56:25 +00:00
}
span.psw {
2019-08-10 18:22:28 +00:00
float: right;
padding-top: 16px;
2019-07-25 19:56:25 +00:00
}
2019-10-03 14:46:45 +00:00
.license {
float: right;
margin: 0% 0%;
width: 20%;
}
2019-08-27 14:34:27 +00:00
@media screen and (min-width: 400px) {
2019-10-03 14:43:47 +00:00
body, html {
2020-11-26 14:05:10 +00:00
background-color: var(--login-bg-color);
color: var(--login-fg-color);
2019-10-03 14:43:47 +00:00
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: 60%;
min-width: 600px;
margin: 0 auto;
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size);
2020-05-25 15:53:38 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-10-03 14:43:47 +00:00
position: relative;
}
.login-text {
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size);
2020-05-25 15:53:38 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-10-03 14:43:47 +00:00
}
input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size);
2020-05-25 15:53:38 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-10-03 14:43:47 +00:00
}
button {
background-color: var(--button-background);
color: var(--button-text);
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size);
2020-05-25 15:53:38 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-10-03 14:43:47 +00:00
}
2019-08-27 14:34:27 +00:00
}
@media screen and (max-width: 1000px) {
2019-10-03 14:43:47 +00:00
body, html {
2020-11-26 14:05:10 +00:00
background-color: var(--login-bg-color);
color: var(--login-fg-color);
2019-10-03 14:43:47 +00:00
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: 95%;
min-width: 600px;
margin: 0 auto;
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size-mobile);
2020-05-25 15:53:38 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-10-03 14:43:47 +00:00
position: relative;
}
.login-text {
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size-mobile);
2020-05-25 15:53:38 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-10-03 14:43:47 +00:00
}
input[type=text], input[type=password] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
box-sizing: border-box;
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size-mobile);
2020-05-25 15:53:38 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-10-03 14:43:47 +00:00
}
button {
background-color: var(--button-background);
color: var(--button-text);
padding: 14px 20px;
margin: 8px 0;
border: none;
cursor: pointer;
width: 100%;
2020-10-29 10:18:33 +00:00
font-size: var(--login-font-size-mobile);
2020-05-25 15:53:38 +00:00
font-family: Arial, Helvetica, sans-serif;
2019-10-03 14:43:47 +00:00
}
2019-07-25 19:56:25 +00:00
}