232 lines
3.5 KiB
CSS
232 lines
3.5 KiB
CSS
/*
|
|
Copyright (c) 2019 Kevin Alberts <kevin@kevinalberts.nl>
|
|
This software is license under the MIT license. It should be included in your copy of this software.
|
|
A copy of the MIT license can be obtained at https://mit-license.org/
|
|
*/
|
|
body{
|
|
margin: 0 0 2rem;
|
|
background-color: #f4f4f4;
|
|
font-family: Open Sans, Arial, sans-serif;
|
|
}
|
|
|
|
#top{
|
|
background-color: #1D428A;
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
#header {
|
|
height: 6rem;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
#logo img {
|
|
height: 3rem;
|
|
}
|
|
|
|
#logo {
|
|
margin-right: 1rem;
|
|
align-items: center;
|
|
}
|
|
|
|
#title {
|
|
color: white;
|
|
text-decoration: none;
|
|
font-family: "Humanst521 BT", "Open Sans", sans-serif;
|
|
font-size: 2.75rem;
|
|
line-height: 2.75rem;
|
|
}
|
|
|
|
#title a {
|
|
color: white;
|
|
text-decoration: none;
|
|
}
|
|
|
|
#middle {
|
|
width: 100%;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
#content {
|
|
min-height: 100px;
|
|
min-width: 200px;
|
|
margin: 1rem;
|
|
width: 600px;
|
|
}
|
|
|
|
#box {
|
|
padding: 1rem;
|
|
}
|
|
|
|
#box .form {
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#box-title {
|
|
margin: 0 0 0.5rem 0;
|
|
font-family: "Humanst521 BT", "Open Sans", sans-serif;
|
|
font-size: 2.5rem;
|
|
font-weight: normal;
|
|
}
|
|
|
|
.drop-shadow {
|
|
filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.5));
|
|
}
|
|
|
|
#long-url-box{
|
|
display: flex;
|
|
align-items: stretch;
|
|
}
|
|
|
|
#long-url-box .prepend {
|
|
background-color: #1D428A;
|
|
color: white;
|
|
font-family: "Humanst521 BT", "Open Sans", sans-serif;
|
|
font-size: 2rem;
|
|
font-weight: bold;
|
|
display: block;
|
|
padding: 0.5rem;
|
|
text-align: center;
|
|
z-index: 1;
|
|
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#long-url {
|
|
width: 1%;
|
|
min-width: 40px;
|
|
flex: 1 1 auto;
|
|
font-size: 1.75rem;
|
|
color: black;
|
|
position: relative;
|
|
border: none;
|
|
padding: 0.5rem;
|
|
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.5);
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
#username, #password {
|
|
/*width: 1%;*/
|
|
min-width: 40px;
|
|
flex: 1 1 auto;
|
|
font-size: 1.75rem;
|
|
color: black;
|
|
position: relative;
|
|
padding: 0.5rem;
|
|
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
#submit {
|
|
background-color: #077821;
|
|
color: white;
|
|
border: none;
|
|
font-size: 2rem;
|
|
cursor: pointer;
|
|
font-weight: normal;
|
|
padding: 0.5rem;
|
|
font-family: "Humanst521 BT", "Open Sans", sans-serif;
|
|
|
|
margin-top: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
#submit:hover {
|
|
background-color: #099A2B;
|
|
}
|
|
|
|
#custom-link-box .optional {
|
|
font-size: 1.25rem;
|
|
margin-top: 0.5em;
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
#custom-label {
|
|
display: flex;
|
|
align-items: stretch;
|
|
}
|
|
|
|
#custom-label .url {
|
|
float: left;
|
|
background-color: #1D428A;
|
|
color: white;
|
|
|
|
|
|
font-family: "Humanst521 BT", "Open Sans", sans-serif;
|
|
font-size: 1.5rem;
|
|
font-weight: normal;
|
|
display: block;
|
|
padding: 0.5rem;
|
|
text-align: center;
|
|
z-index: 1;
|
|
}
|
|
|
|
#custom-link {
|
|
width: 1%;
|
|
min-width: 40px;
|
|
flex: 1 1 auto;
|
|
font-size: 1.5rem;
|
|
color: black;
|
|
position: relative;
|
|
border: none;
|
|
padding: 0.5rem;
|
|
|
|
border-top: 1px solid rgba(0, 0, 0, 0.5);
|
|
border-bottom: 1px solid rgba(0, 0, 0, 0.5);
|
|
border-right: 1px solid rgba(0, 0, 0, 0.5);
|
|
}
|
|
|
|
.success {
|
|
color: #077821;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.error {
|
|
color: #B8231F;
|
|
font-size: 1.25rem;
|
|
}
|
|
|
|
.success span {
|
|
display: block;
|
|
}
|
|
|
|
.success a {
|
|
color: #153065;
|
|
text-decoration: none;
|
|
font-family: monospace;
|
|
font-size: 1.25rem;
|
|
display: block;
|
|
|
|
margin-top: 0.25rem;
|
|
padding: 0.25rem;
|
|
border: 1px solid rgba(0, 0, 0, 0.5);
|
|
background-color: white;
|
|
text-align: center;
|
|
}
|
|
|
|
.success a:hover {
|
|
color: #2450A8;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
#copyright {
|
|
margin-top: 2rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
#copyright span {
|
|
text-align: center;
|
|
display: block;
|
|
}
|