Files
flask_url_shortener/tiny0/static/style.css
T

255 lines
3.3 KiB
CSS
Raw Normal View History

2020-07-19 16:51:54 +00:00
* {
2020-08-24 15:25:42 +03:00
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Robot Mono', monospace;
2020-07-19 16:51:54 +00:00
}
2020-08-24 15:25:42 +03:00
nav {
background: #0c2431;
padding: 5px 40px;
2020-07-18 23:39:18 +00:00
}
2020-08-24 15:25:42 +03:00
nav ul {
list-style: none;
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
}
2020-08-24 15:25:42 +03:00
nav ul li {
padding: 15px 0;
cursor: pointer;
}
2020-08-24 15:25:42 +03:00
nav ul li.items {
position: relative;
width: auto;
margin: 0 16px;
text-align: center;
order: 3;
font-weight: bold;
}
2020-08-24 15:25:42 +03:00
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;
}
2020-08-24 15:25:42 +03:00
nav ul li.items:hover:after {
opacity: 1;
bottom: 8px;
}
2020-08-24 15:25:42 +03:00
nav ul li.logo {
flex: 1;
color: white;
font-size: 23px;
font-weight: 600;
cursor: default;
user-select: none;
2020-07-19 16:51:54 +00:00
}
2020-08-24 15:25:42 +03:00
nav ul li a {
color: white;
font-size: 18px;
text-decoration: none;
transition: .4s;
2020-07-18 23:39:18 +00:00
}
2020-08-24 15:25:42 +03:00
nav ul li:hover a {
color: #f68741;
2020-07-18 23:39:18 +00:00
}
2020-08-24 15:25:42 +03:00
nav ul li i {
font-size: 23px;
2020-07-18 23:39:18 +00:00
}
2020-08-24 15:25:42 +03:00
nav ul li.btn {
display: none;
2020-08-21 12:17:17 +03:00
}
2020-08-24 15:25:42 +03:00
nav ul li.btn.hide i:before {
content: '\f00d';
2020-08-21 12:17:17 +03:00
}
2020-08-24 15:25:42 +03:00
@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;
}
2020-07-18 16:40:51 +00:00
}
2020-07-18 23:39:18 +00:00
2020-08-24 15:25:42 +03:00
body {
background: #0c2431;
2020-07-19 16:51:54 +00:00
}
2020-08-24 15:25:42 +03:00
.url-form {
max-width: 700px;
text-align: center;
2020-08-25 11:40:12 +03:00
margin: 20vh auto 0 auto;
}
2020-07-19 21:52:15 +00:00
2020-08-24 15:25:42 +03:00
.url-form h1 {
color: #ffffff;
text-align: center;
margin-bottom: 30px;
2020-08-21 12:17:17 +03:00
}
2020-08-24 15:25:42 +03:00
.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;
2020-08-22 15:36:09 +03:00
}
2020-08-24 15:25:42 +03:00
.feedback-input:focus {
border: 2px solid #c95c03;
2020-08-22 15:36:09 +03:00
}
2020-08-26 11:13:50 +03:00
.token {
display: flex;
}
.token h3 {
color: #ffffff;
margin: 15px 10px 0 0;
}
2020-08-24 15:25:42 +03:00
.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;
2020-08-22 15:36:09 +03:00
}
2020-08-24 15:25:42 +03:00
.button:hover {
background: #e26803;
2020-08-22 15:36:09 +03:00
}
2020-08-24 15:25:42 +03:00
@media all and (max-width: 800px) {
.url-form {
2020-08-25 11:40:12 +03:00
max-width: 380px;
2020-08-24 15:25:42 +03:00
}
2020-08-22 15:36:09 +03:00
}
2020-08-24 15:25:42 +03:00
.form-errors {
color: #ffffff;
text-align: center;
margin-top: 15px;
2020-08-07 10:50:56 +03:00
}
2020-08-24 15:25:42 +03:00
.form-errors h4 {
margin-bottom: 5px;
}
2020-08-24 15:25:42 +03:00
.clicks {
color: #f68741;
text-align: center;
2020-08-25 13:02:48 +03:00
margin-top: 20vh;
2020-08-07 10:50:56 +03:00
}
2020-08-24 15:25:42 +03:00
.clicks h1 {
font-size: 125px;
2020-07-23 18:26:18 +00:00
}
2020-08-24 15:25:42 +03:00
.clicks h2 {
font-size: 25px;
2020-08-18 12:20:07 +03:00
}
2020-08-25 13:02:48 +03:00
.thanks {
color: #f68741;
text-align: center;
margin-top: 20vh;
}
2020-08-24 15:25:42 +03:00
.donation {
color: #ffffff;
text-align: center;
2020-08-25 11:40:12 +03:00
margin-top: 20vh;
2020-08-18 12:20:07 +03:00
}
2020-07-23 18:26:18 +00:00
2020-08-24 15:25:42 +03:00
.donation h1 {
font-size: 50px;
margin-bottom: 30px;
2020-07-19 21:52:15 +00:00
}
2020-08-24 15:25:42 +03:00
.donation h2 {
font-size: 30px;
margin-bottom: 60px;
2020-07-19 21:52:15 +00:00
}
2020-08-24 15:25:42 +03:00
.donation h2 a:link {
color: #f68741;
text-decoration: none;
2020-07-19 21:52:15 +00:00
}
2020-08-24 15:25:42 +03:00
.donation h2 a:visited {
color: #f68741;
2020-07-19 21:52:15 +00:00
}
2020-08-24 15:25:42 +03:00
.donation h2 a:hover {
color: #e26803;
2020-07-19 21:52:15 +00:00
}
2020-08-24 15:25:42 +03:00
.error {
color: #ffffff;
text-align: center;
margin-top: 250px;
2020-07-19 21:52:15 +00:00
}
2020-08-24 15:25:42 +03:00
.error h1 {
font-size: 100px;
2020-07-23 18:26:18 +00:00
}
2020-08-24 15:25:42 +03:00
.error h2 {
font-size: 50px;
2020-07-19 21:52:15 +00:00
}
2020-08-24 15:25:42 +03:00
footer {
color: #ffffff;
text-align: center;
2020-08-25 11:40:12 +03:00
margin: 30vh 0 5vh 0;
}