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?
dmd3440-chat-app/profile.css
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
127 lines (109 sloc)
2.06 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
* { | |
box-sizing: border-box; | |
} | |
html { | |
--bg: white; | |
--main: #7A9E9F; | |
--accent: #FE5F55; | |
--light: #B8D8D8; | |
--dark: #4F6367; | |
--mainTxt: black; | |
--headTxt: white; | |
--gray: #eeeeee; | |
} | |
html[data-theme='dark'] { | |
--bg: #333333; | |
--main: #2e494a; | |
--accent: #FE5F55; | |
--light: #5d6e6e; | |
--dark: #233033; | |
--mainTxt: white; | |
--headTxt: white; | |
--gray: #525252; | |
} | |
body { | |
background-image: linear-gradient(to bottom right, var(--main), var(--light)); | |
font-family: 'Open Sans Condensed', sans-serif; | |
margin: 0; | |
} | |
#time { | |
text-align: center; | |
font-size: 0.8rem; | |
} | |
h1 { | |
font-weight: normal; | |
letter-spacing: 0.2em; | |
text-align: center; | |
margin: 0; | |
} | |
header { | |
height: 65px; | |
color: var(--headTxt); | |
} | |
.top { | |
display: flex; | |
align-items: center; | |
justify-content: space-between; | |
margin: 0px 10px; | |
} | |
.edit-icon { | |
vertical-align: bottom | |
} | |
.back { | |
font-family: 'Righteous', sans-serif; | |
font-size: 1.7rem; | |
text-decoration: none; | |
color: var(--headTxt); | |
} | |
.profile-form { | |
margin: 30px auto; | |
width: 70vw; | |
} | |
.info { | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
margin-top: 50px; | |
height: 75vh; | |
} | |
.profile-image { | |
width: 25vh; | |
border-radius: 50%; | |
border: 5px solid var(--headTxt); | |
box-sizing: content-box; | |
} | |
.name { | |
display: flex; | |
font-size: 2rem; | |
padding-top: 10px; | |
} | |
#last { | |
padding-left: 10px; | |
} | |
.bottomPage { | |
position: absolute; | |
bottom: 0; | |
width: 100vw; | |
height: 25vh; | |
background-color: var(--bg); | |
} | |
.alignment { | |
display: flex; | |
justify-content: center; | |
} | |
.homeBtn { | |
background-color: var(--headTxt); | |
border-radius: 20px; | |
text-align: center; | |
width: 50vw; | |
bottom: 21.5vh; | |
position: absolute; | |
box-shadow: 0 4px 8px 0 rgba(122, 158, 159, 0.2), 0 6px 20px 0 rgba(122, 158, 159, 0.2); | |
} | |
.homeTxt { | |
display: inline-block; | |
color: var(--main); | |
text-decoration: none; | |
font-size: 20px; | |
padding: 10px 0px; | |
} |