Last active
May 10, 2023 19:45
-
-
Save Michael98Liu/7bc9a75c1f9b305e3bbf5c69761e537f to your computer and use it in GitHub Desktop.
css for filMarathon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { | |
box-sizing: border-box; | |
} | |
.logincontainer { | |
display: flex; | |
justify-content: center; | |
margin-bottom: 10%; | |
} | |
.login { | |
margin-top: 10%; | |
margin-bottom: 10%; | |
border-radius: 2px 2px 5px 5px; | |
padding: 10px 20px 20px 20px; | |
width: 90%; | |
max-width: 320px; | |
background: #ffffff; | |
position: relative; | |
padding-bottom: 80px; | |
box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3); | |
} | |
.login .btn-primary { | |
background-color: #444; | |
margin-top: 2vh; | |
} | |
.login input { | |
display: block; | |
padding: 15px 10px; | |
margin-bottom: 10px; | |
width: 100%; | |
border: 1px solid #ddd; | |
transition: border-width 0.2s ease; | |
border-radius: 2px; | |
color: #ccc; | |
} | |
.login input + i.fa { | |
color: #fff; | |
font-size: 1em; | |
position: absolute; | |
margin-top: -47px; | |
opacity: 0; | |
left: 0; | |
transition: all 0.1s ease-in; | |
} | |
.login input:focus { | |
outline: none; | |
color: #444; | |
border-color: #222527; | |
border-left-width: 35px; | |
} | |
.login input:focus + i.fa { | |
opacity: 1; | |
left: 30px; | |
transition: all 0.25s ease-out; | |
} | |
.login a { | |
font-size: 0.8em; | |
color: rgb(76, 97, 204); | |
text-decoration: none; | |
} | |
.login .title { | |
color: #444; | |
font-size: 1.2em; | |
font-weight: bold; | |
margin: 10px 0 30px 0; | |
border-bottom: 1px solid #eee; | |
padding-bottom: 20px; | |
} | |
.login:not(.loading) button:hover { | |
box-shadow: 0px 1px 3px #222527; | |
} | |
.login:not(.loading) button:focus { | |
border-bottom-width: 4px; | |
} | |
footer { | |
margin-top: 10%; | |
} /*# sourceMappingURL=style.css.map */ | |
.card-body { | |
background-color: #f9fafb; | |
border-radius: 0.5rem; | |
} | |
.card { | |
border-radius: 0.5rem; | |
margin-bottom: 0.2em; | |
} | |
.card-title { | |
font: size 2em; | |
} | |
h1 { | |
color: #000000; | |
text-align: center; | |
font-size: 2.5em; | |
font-weight: bold; | |
margin-bottom: 40px; | |
} | |
form { | |
margin: 0 auto; | |
max-width: 900px; | |
padding: 50px; | |
background-color: rgb(247, 242, 236); | |
} | |
input[type="text"] { | |
width: 100%; | |
padding: 15px; | |
margin-bottom: 10px; | |
border: 1px solid #ccc; | |
} | |
/* | |
input:focus { | |
outline: none; | |
color: #444; | |
border-color: #222527; | |
border-left-width: 35px; | |
} | |
*/ | |
textarea { | |
width: 100%; | |
height: 200px; | |
padding: 10px; | |
font-size: 14px; | |
resize: none; | |
} | |
.btn { | |
padding: 10px 20px; | |
background-color: #000000; | |
border: none; | |
color: #444; | |
font-size: 16px; | |
} | |
.btn-primary { | |
background-color: #444; | |
color: #fff; | |
} | |
.btn-primary:hover { | |
background-color: #222527; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment