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

150 lines
2.4 KiB

/* Main CSS */
5 years ago
section {
5 years ago
float: left;
display: inline-block;
5 years ago
width: 50%;
5 years ago
padding-top: 55px;
height: 100vh;
5 years ago
overflow: scroll;
overflow-x: hidden;
}
section::-webkit-scrollbar {
display: none;
}
5 years ago
svg {
5 years ago
padding-top: 49px;
5 years ago
fill: #454752;
stroke-width: 1;
stroke: #454752;
5 years ago
height: 100vh;
}
/* 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;
}
5 years ago
/* Feedback */
#feedbackContent {
background-color: #33353d;
5 years ago
float: left;
5 years ago
width: 100%;
}
.feedback {
display: inline-block;
padding: 14vh 0 14vh 5%;
width: 50%;
5 years ago
vertical-align: top;
5 years ago
}
#feedbackOne {
border-right: #454752 4px solid;
}
.user {
display: inline-block;
5 years ago
min-width: 8rem;
}
.user h3 {
text-align: center;
5 years ago
}
.userImg {
width: 8rem;
height: 8rem;
5 years ago
margin-left: calc(50% - 4rem);
5 years ago
margin-bottom: 2rem;
}
.userFeedback {
font-family: 'Open Sans';
display: inline-block;
vertical-align: top;
margin-left: 2rem;
padding-left: 1rem;
border-left: #ededed 2px solid;
width: 30rem;
word-wrap: break-word;
}
/* Footer */
5 years ago
footer {
5 years ago
background-color: black;
5 years ago
width: 100%;
position: relative;
5 years ago
float: left;
5 years ago
font-family: 'Open Sans', sans-serif;
}
5 years ago
footer div {
5 years ago
margin: 5rem 0 3rem 8rem;
5 years ago
display: inline-block;
5 years ago
vertical-align: top;
5 years ago
}
footer h4 {
color: gray;
}
5 years ago
footer ul {
list-style-type: none;
margin-top: 20px;
padding: 0;
}
5 years ago
footer li {
margin-top: 1rem;
}
5 years ago
#copyright {
font-size: 15px;
5 years ago
position: absolute;
5 years ago
display: inline-block;
margin: auto;
bottom: 1rem;
5 years ago
right: 1rem;
white-space: nowrap;
5 years ago
vertical-align: baseline;
5 years ago
}
5 years ago
/* Mobile support */
@viewport {
width: device-width;
zoom: 1.0;
}
5 years ago
@media screen and (min-width:0px) and (max-width:1525px) {
.feedback {
display: block!important;
width: 100%!important;
padding: 5vh 0 5vh;
border-right: 0!important;
}
.user {
margin-left: calc(50% - 20rem);
}
#feedbackOne {
border-bottom: #454752 4px solid;
}
}
5 years ago
/* Support for mobile devices */
5 years ago
@media screen and (min-width:0px) and (max-width:1000px) {
5 years ago
section {
5 years ago
width: 100%!important;
}
svg {
display: none;
}
.time {
5 years ago
font-size: 4rem!important;
5 years ago
}
footer {
5 years ago
float: left;
width: 100%;
5 years ago
display: block!important;
5 years ago
}
footer div {
5 years ago
margin: 3rem 0 1rem 4rem!important;
}
5 years ago
#feedbackContent {
float: left;
5 years ago
}
}