You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
First-Website/css.css

119 lines
1.9 KiB

/* Main CSS */
svg {
position: relative;
z-index: -1;
padding-top: 49px;
fill: #454752;
stroke-width: 1;
stroke: #454752;
height: 100vh;
}
.mainContent {
overflow: visible;
5 years ago
float: left;
padding: 6rem 0 0 2rem;
5 years ago
display: inline-block;
5 years ago
width: 50%;
5 years ago
height: 100vh;
5 years ago
}
.mainContent::-webkit-scrollbar {
5 years ago
display: none;
}
/* Splash */
.logo {
width: 8rem;
height: 8rem;
margin-right: 2rem;
}
.name {
font-size: 4rem;
white-space: nowrap;
}
.keepclicking {
background-color: #3b3c45;
width: 40rem;
height: 12rem;
transition: background-color .4s;
border: 0;
color: white;
padding: 1rem;
border-radius: .5rem;
margin-top: 3rem;
}
.keepclicking:hover {
background-color: #33343b;
}
.keepclicking:focus {
outline: 0;
}
.playground {
border-right: white 4px solid;
width: 20rem;
display: inline-block;
}
.code {
vertical-align: top;
margin-left: 3.7rem;
margin-top: 10px;
}
.minify {
border-left: white 4px solid;
width: 15rem;
margin-left: 3rem;
display: inline-block;
}
.cut {
vertical-align: top;
margin-top: 10px;
}
/* Clock */
#timeBox {
5 years ago
margin-left: 1rem;
padding: 1rem;
5 years ago
font-family: 'Open Sans', sans-serif;
}
5 years ago
.time {
display: inline-block;
5 years ago
font-size: 7rem;
5 years ago
margin: 0;
}
#date {
5 years ago
font-size: 2rem;
5 years ago
margin: 0;
}
/* About */
.about {
position: relative;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
float: left;
height: 35vh;
background-color: #33353d;
}
.head {
padding: 1rem;
text-align: center;
display: inline-block;
width: 25rem;
border-right: 4px solid white;
}
5 years ago
/* Mobile support */
@viewport {
width: device-width;
zoom: 1.0;
}
5 years ago
/* Support for mobile devices */
5 years ago
@media screen and (min-width:0px) and (max-width:1000px) {
.mainContent {
5 years ago
width: 100%!important;
}
svg {
display: none;
}
.time {
5 years ago
font-size: 4rem!important;
5 years ago
}
}