Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
DMD-3440-Midterm/main.css
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
310 lines (255 sloc)
4.61 KB
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
/* Imports the necessary fonts into the CSS file instead of having to import them in every single html file */ | |
@import url('https://fonts.googleapis.com/css2?family=Muli:wght@400;800'); | |
@import url('https://fonts.googleapis.com/css2?family=Work+Sans'); | |
@import url('https://fonts.googleapis.com/css2?family=Roboto'); | |
/* | |
DELETE LATER | |
Colors to consider from design draft | |
Orange Header Color: #ca7121 | |
Tan BG Color: #ded5cd | |
Lighter Logo Color: #68350d | |
Darker Logo Color: #3b240b | |
#b0611a | |
*/ | |
#sidenav { | |
height: 100%; | |
background-color: #a16027; | |
width: 0; | |
position: fixed; | |
z-index: 1; | |
transition: width 0.5s; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
align-content: flex-start; | |
padding-top: 100px; | |
} | |
#sidenav * { | |
margin-left: initial; | |
transition: margin-left 0.5s; | |
padding-left: 30px; | |
padding-right: 30px; | |
text-align: center; | |
} | |
#sidenav.hideContent * { | |
margin-left: -70vw; | |
} | |
#sidebarPFP { | |
height: 40vw; | |
margin-bottom: 4vh; | |
} | |
#main { | |
transition: margin-left 0.5s; | |
} | |
#header { | |
z-index: 0; | |
background: #ca7121 url("chateau-logo.png"); | |
background-position: center; | |
background-size: contain; | |
background-repeat: no-repeat; | |
position: relative; | |
height: 10vh; | |
display: flex; | |
align-items: center; | |
margin-top: 0px; | |
padding-top: 0px; | |
} | |
#header.noLogo { | |
background: #ca7121; | |
} | |
#chatLog { | |
position: absolute; | |
height: 83vh; | |
width: 100%; | |
margin-left: 0px; | |
border-top: none; | |
border: solid; | |
border-color: #AAAAAA; | |
border-width: 0.5px; | |
/* Stops the chat log from hiding the most recent messages under the input section*/ | |
bottom: 50px; | |
overflow-y: scroll; | |
overflow-x: hidden; | |
background: transparent; | |
z-index: -1; | |
font-family: 'Roboto'; | |
} | |
body { | |
width: 100vw; | |
margin-left: 0px; | |
overflow-x: hidden; | |
overflow-y: hidden; | |
background-color: #ded5cd; | |
padding-top: 0px; | |
} | |
#altogether > *:first-child { | |
display: flex; | |
} | |
div#msgInput { | |
position: fixed; | |
bottom: 0; | |
left: 0px; | |
width: 100vw; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
height: 50px; | |
background-color: #ffffff; | |
} | |
#sendButton { | |
margin-right: 10vw; | |
-webkit-appearance: none; | |
border-radius: 0; | |
} | |
#msgText { | |
width: 100%; | |
font-size: 1.9vh; | |
background-color: transparent; | |
border: none; | |
height: 150px; | |
} | |
.inputElement{ | |
height: 100%; | |
position: initial; | |
} | |
#msgInput input { | |
width:100%; | |
text-indent: 15px; | |
} | |
#sendButton { | |
margin:0px 0px; | |
padding:0px 10px; | |
} | |
mark { | |
background-color:transparent; | |
} | |
.timestamp { | |
color: #999999; | |
font-style: italic; | |
padding-left: 1em; | |
} | |
.username { | |
font-family: Muli; | |
font-weight: 600; | |
} | |
.msgInfo { | |
line-height: 1.4; | |
} | |
#chatLog div { | |
margin-left: 60px; | |
margin-bottom: 5px; | |
display: flex; | |
} | |
.wrapper { | |
display: flex; | |
justify-content: center; | |
} | |
.settingsOption { | |
margin-bottom: 30px; | |
font-family: Muli; | |
font-weight: 800; | |
font-size: 3vw; | |
display: flex; | |
width: 80vw; | |
justify-content: space-between; | |
} | |
.settingsOption input[type="text"] { | |
font-family: 'Arial'; | |
font-size: inherit; | |
} | |
#settings { | |
padding: 30px; | |
padding-top: 70px; | |
width: 80%; | |
display: flex; | |
flex-direction: column; | |
} | |
.backButton { | |
font-size: calc(2vw + 2vh + 1vmin); | |
font-family: Muli; | |
font-weight: 700; | |
padding-left: 3vw; | |
color: #F2F2F2; | |
text-shadow: 3px 3px 2px #9d5106; | |
background-color: transparent; | |
border: none; | |
} | |
#profSettings { | |
font-family: Muli; | |
font-weight: 700; | |
font-size: calc(1.3vw + 1.3vh + 0.5vmin); | |
color: #F2F2F2; | |
background-color: #68350d; | |
padding: 14px; | |
border-radius: 20px; | |
} | |
#sidebarName { | |
font-family: Muli; | |
font-weight: 900; | |
font-size: calc(2.5vw + 2.5vh + 1vmin); | |
color: #F2F2F2; | |
text-shadow: 0.6vw 0.6vw #68350d; | |
} | |
#sidebarStatus { | |
font-family: Muli; | |
font-size: calc(1.3vw + 1.3vh + 1vmin); | |
color: #F2F2F2; | |
margin-bottom: 3vh; | |
} | |
.saveSettingsDiv { | |
margin-top: 3vh; | |
display: flex; | |
/*can't decide between center and flex-end tbh*/ | |
justify-content: center; | |
border: none; | |
} | |
.saveSettingsButton { | |
width: 60%; | |
font-size: 130%; | |
font-family: Muli; | |
font-weight: 700; | |
color: #F2F2F2; | |
background-color: #ca7121; | |
border: none; | |
margin-bottom: 30px; | |
} | |
.saveSettingsButton:focus { | |
outline: none; | |
box-shadow: none; | |
} | |
.settingsInput { | |
display: flex; | |
width: 35vw; | |
justify-content: center; | |
} | |
#profNameColorInput { | |
width: 10vw; | |
} | |
#profPicDiv { | |
margin-bottom: 15px; | |
} | |
.menuButton { | |
height: calc(2vw + 4vh + 1vmin); | |
width: calc(2vw + 4vh + 1vmin); | |
padding-left: 4vw; | |
transition: margin-left 0.5s; | |
} | |
.msgPic { | |
height: 7vh; | |
margin: 10px; | |
margin-top: 0px; | |
} | |
#chatLog div { | |
min-height: 7vh; | |
} | |
span.msgInfo { | |
font-size: 1.9vh; | |
padding-right: 70px; | |
} | |
.msgData { | |
overflow: hidden; | |
white-space: nowrap; | |
} | |
#sendButton:disabled { | |
visibility: hidden; | |
} |