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

149 lines
2.4 KiB

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