launchx/static/css/home.css
2021-01-29 15:15:45 -05:00

274 lines
3.9 KiB
CSS

:root {
font-size: 16px;
font-family: 'Open Sans';
--text-primary: #b6b6b6;
--text-secondary: #5978f7;
--bg-primary: #23232e;
--bg-secondary: #141418;
--transition-speed: 600ms;
}
body {
color: var(--text-primary);
background-color: black;
margin: 0;
padding: 0;
}
body::-webkit-scrollbar {
width: 0.25rem;
}
body::-webkit-scrollbar-track {
background: #1e1e24;
}
body::-webkit-scrollbar-thumb {
background: #5978f7;
}
main {
margin-left: 5rem;
padding: 1rem;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
}
.desc {
font-size: 28px;
font-weight: 300;
text-align: center;
}
.updates {
list-style-type: none;
overflow: hidden;
border-radius: 8px;
border: 1px solid green;
background-color: black;
color: green;
margin-left: auto;
margin-right: auto;
width: 90%;
padding: 0;
margin-bottom: 2rem;
}
.boxtext {
margin-left: 1.5rem;
margin-right: 1.5rem;
}
#innovatelink {
text-decoration: none;
color: var(--text-secondary);
border-bottom: 2px solid var(--text-secondary);
}
#socialMedia {
list-style-type: none;
overflow: hidden;
border-radius: 8px;
border: 0;
background-color: var(--bg-primary);
width: max-content;
padding: 0;
}
#socialMedia li {
float: left;
}
.mediaLink {
font-size: 36px;
padding: 14px 48px;
display: block;
color: var(--text-primary);;
text-align: center;
text-decoration: none;
}
.fab {
transition: color 0.4s ease-out;
}
.fa-facebook-f:hover {
color: #1a54c9;
}
.fa-instagram-square:hover {
color: #b7613c;
}
.fa-envelope {
transition: color 0.4s ease-out;
}
.fa-envelope:hover {
color: red;
}
.navbar {
position: fixed;
background-color: var(--bg-primary);
transition: width 600ms ease;
}
.navbar-nav {
list-style: none;
padding: 0;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
}
.nav-item {
width: 100%;
}
.nav-link {
display: flex;
align-items: center;
height: 5rem;
color: var(--text-primary);
text-decoration: none;
filter: grayscale(100%) opacity(0.7);
transition: var(--transition-speed);
}
.nav-link:hover {
filter: grayscale(0%) opacity(1);
background: var(--bg-secondary);
color: var(--text-secondary);
}
.link-text {
display: none;
margin-left: 1rem;
}
.nav-link svg{
width: 2rem;
min-width: 2rem;
margin: 0 1.5rem;
}
.nav-link i {
font-size: 28px;
margin: 0 1.25rem;
}
.link-text {
font-size: 1.25rem;
}
.fa-primary {
color: #d57cff;
}
.fa-secondary {
color: #ae49dd;
}
.fa-primary,
.fa-secondary {
transition: var(--transition-speed);
}
.logo {
font-weight: bold;
text-transform: uppercase;
margin-bottom: 1rem;
text-align: center;
color: var(--text-secondary);
background: var(--bg-secondary);
font-size: 1.5rem;
letter-spacing: 0.3ch;
width: 100%;
}
.logo svg {
transform: rotate(0deg);
transition: var(--transition-speed);
}
.logo-text
{
display: inline;
position: absolute;
left: -999px;
transition: var(--transition-speed);
}
.navbar:hover .logo svg {
transform: rotate(-180deg);
}
/* Small screens */
@media only screen and (max-width: 1000px) {
.navbar {
bottom: 0;
width: 100vw;
height: 5rem;
}
.logo {
display: none;
}
.navbar-nav {
flex-direction: row;
}
.nav-link {
justify-content: center;
}
main {
margin: 0;
}
#socialMedia {
margin-top: -20px;
}
.mediaLink {
padding: 10px 36px;
}
}
/* Large screens */
@media only screen and (min-width: 1000px) {
.navbar {
top: 0;
width: 5rem;
height: 100vh;
}
.navbar:hover {
width: 16rem;
}
.navbar:hover .link-text {
display: inline;
}
.navbar:hover .logo svg
{
margin-left: 11rem;
}
.navbar:hover .logo-text
{
left: 0px;
}
}