Files
flask_url_shortener/tiny0/static/style.css
2020-09-06 14:13:54 +03:00

265 lines
3.4 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Robot Mono', monospace;
}
nav {
background: #0c2431;
padding: 5px 40px;
}
nav ul {
list-style: none;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
nav ul li {
padding: 15px 0;
cursor: pointer;
}
nav ul li.items {
position: relative;
width: auto;
margin: 0 16px;
text-align: center;
order: 3;
font-weight: bold;
}
nav ul li.items:after {
position: absolute;
content: '';
left: 0;
bottom: 5px;
height: 2px;
width: 100%;
background: #f68741;
opacity: 0;
transition: all 0.2s linear;
}
nav ul li.items:hover:after {
opacity: 1;
bottom: 8px;
}
nav ul li.logo {
flex: 1;
color: white;
font-size: 23px;
font-weight: 600;
cursor: default;
user-select: none;
}
nav ul li a {
color: white;
font-size: 18px;
text-decoration: none;
transition: .4s;
}
nav ul li:hover a {
color: #f68741;
}
nav ul li i {
font-size: 23px;
}
nav ul li.btn {
display: none;
}
nav ul li.btn.hide i:before {
content: '\f00d';
}
@media all and (max-width: 900px) {
nav {
padding: 5px 30px;
}
nav ul li.items {
width: 100%;
display: none;
}
nav ul li.items.show {
display: block;
}
nav ul li.btn {
display: block;
}
nav ul li.items:hover {
border-radius: 5px;
box-shadow: 0px 5px 5px #f68741, 0px -5px 5px #f68741;
}
nav ul li.items:hover:after {
opacity: 0;
}
}
body {
background: #0c2431;
}
.url-form {
max-width: 700px;
text-align: center;
margin: 20vh auto 0 auto;
}
.url-form h1 {
color: #ffffff;
text-align: center;
margin-bottom: 30px;
}
.feedback-input {
color: white;
font-weight: 500;
font-size: 18px;
border-radius: 5px;
line-height: 22px;
background-color: transparent;
border: 2px solid #fc913a;
transition: all 0.3s;
padding: 13px;
margin-bottom: 15px;
width: 100%;
box-sizing: border-box;
outline: 0;
}
.feedback-input:focus {
border: 2px solid #c95c03;
}
.token {
display: flex;
}
.token h3 {
color: #ffffff;
margin: 15px 10px 0 0;
}
.button {
width: 100%;
background: #fc913a;
border-radius: 5px;
border: 0;
cursor: pointer;
color: white;
font-size: 24px;
padding-top: 10px;
padding-bottom: 10px;
transition: all 0.3s;
margin-top: -4px;
font-weight: 700;
}
.button:hover {
background: #e26803;
}
@media all and (max-width: 800px) {
.url-form {
max-width: 380px;
}
}
.form-errors {
color: #ffffff;
text-align: center;
margin-top: 15px;
}
.form-errors h4 {
margin-bottom: 5px;
}
.clicks {
color: #f68741;
text-align: center;
margin-top: 20vh;
}
.clicks h1 {
font-size: 125px;
}
.clicks h2 {
font-size: 25px;
}
.thanks {
color: #f68741;
text-align: center;
margin-top: 20vh;
}
.donation {
color: #ffffff;
text-align: center;
margin-top: 20vh;
}
.donation h1 {
font-size: 50px;
margin-bottom: 30px;
}
.donation h2 {
font-size: 30px;
margin-bottom: 60px;
}
.donation h2 a:link {
color: #f68741;
text-decoration: none;
}
.donation h2 a:visited {
color: #f68741;
}
.donation h2 a:hover {
color: #e26803;
}
.removed {
color: #f68741;
text-align: center;
margin-top: 250px;
}
.removed h1 {
font-size: 50px;
}
.error {
color: #ffffff;
text-align: center;
margin-top: 250px;
}
.error h1 {
font-size: 100px;
}
.error h2 {
font-size: 50px;
}
footer {
color: #ffffff;
text-align: center;
margin: 30vh 0 5vh 0;
}