epicyon/epicyon-login.css

204 lines
4.6 KiB
CSS
Raw Normal View History

2019-08-10 18:22:28 +00:00
@charset "UTF-8";
:root {
--main-bg-color: #282c37;
2019-08-11 13:02:36 +00:00
--main-fg-color: #dddddd;
--main-link-color: #999;
--main-visited-color: #888;
2019-08-10 18:22:28 +00:00
--border-color: #505050;
--font-size-header: 18px;
--font-color-header: #ccc;
--font-size: 22px;
2019-08-27 14:34:27 +00:00
--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;
2019-08-10 18:22:28 +00:00
}
2020-05-25 11:33:37 +00:00
@font-face {
font-family: 'Bedstead';
font-style: normal;
font-weight: normal;
font-display: swap;
src: url('./fonts/bedstead.otf') format('opentype');
}
2019-07-25 19:56:25 +00:00
body, html {
2019-08-10 18:22:28 +00:00
background-color: var(--main-bg-color);
color: var(--main-fg-color);
background-image: url("/login-background.png");
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: 60%;
min-width: 600px;
margin: 0 auto;
font-size: var(--font-size);
}
a, u {
color: var(--main-fg-color);
}
a:visited{
color: var(--main-visited-color);
font-weight: bold;
}
a:link {
color: var(--main-link-color);
font-weight: bold;
2019-07-25 19:56:25 +00:00
}
form {
2019-08-10 18:22:28 +00:00
border: 3px 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
}
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;
font-size: var(--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%;
font-size: var(--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 {
2019-08-10 18:22:28 +00:00
font-size: var(--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
}
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 {
background-color: var(--main-bg-color);
color: var(--main-fg-color);
background-image: url("/login-background.png");
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: 60%;
min-width: 600px;
margin: 0 auto;
font-size: var(--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;
top: 3%;
}
.login-text {
font-size: var(--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;
font-size: var(--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%;
font-size: var(--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 {
background-color: var(--main-bg-color);
color: var(--main-fg-color);
background-image: url("/login-background.png");
height: 100%;
font-family: Arial, Helvetica, sans-serif;
max-width: 95%;
min-width: 600px;
margin: 0 auto;
font-size: var(--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;
top: 5%;
}
.login-text {
font-size: var(--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;
font-size: var(--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%;
font-size: var(--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
}