mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-28 21:27:41 -05:00
204 lines
3.1 KiB
CSS
204 lines
3.1 KiB
CSS
/* General */
|
|
body {
|
|
-ms-text-size-adjust: 100%;
|
|
-webkit-text-size-adjust: 100%;
|
|
min-height:100vh;
|
|
margin: 0;
|
|
padding: 20px;
|
|
box-sizing:border-box;
|
|
background-color: #EFEFEF;
|
|
color: #575757;
|
|
text-align: center;
|
|
font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
|
|
line-height: 1.5;
|
|
font-size: 1.05rem;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
mark {
|
|
color: #707070;
|
|
font-weight: bold;
|
|
}
|
|
|
|
a:link {
|
|
color: #575757;
|
|
}
|
|
|
|
a:visited {
|
|
color: #575757;
|
|
}
|
|
|
|
a:hover {
|
|
color: #575757;
|
|
}
|
|
|
|
a:active {
|
|
color: #575757;
|
|
}
|
|
|
|
/* Header */
|
|
header .avatar {
|
|
position: relative;
|
|
height: 100px;
|
|
}
|
|
|
|
header .avatar img {
|
|
position: absolute;
|
|
width: 100px;
|
|
margin: 0 auto;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
header .avatarMask {
|
|
clip-path: circle(48px at center);
|
|
-webkit-clip-path: circle(48px at center);
|
|
}
|
|
|
|
/* Footer */
|
|
footer {
|
|
font-size: 12px;
|
|
box-sizing:border-box;
|
|
}
|
|
|
|
/* Top page */
|
|
#profileContainer {
|
|
min-height: calc(100vh - 100px);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
#profile {
|
|
max-width: 600px;
|
|
/* min-width: 300px; */
|
|
}
|
|
|
|
nav ul {
|
|
display: flex;
|
|
justify-content: space-evenly;
|
|
/* max-width: 300px; */
|
|
margin: 20px auto;
|
|
padding: 0;
|
|
list-style: none;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
nav li {
|
|
margin: 0 10px;
|
|
}
|
|
|
|
/* Contents List */
|
|
#searchBox {
|
|
position: relative;
|
|
max-width: 300px;
|
|
height: 30px;
|
|
margin: 20px auto;
|
|
}
|
|
|
|
#searchBox #searchBoxInput {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
padding: 0 35px 0 15px;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
border-radius: 15px;
|
|
outline: 0;
|
|
font-size: 15px;
|
|
color: #707070;
|
|
background-color:#f6f6f6;
|
|
border: solid 1px #c9c9c9;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#searchBox #searchBoxInput::placeholder {
|
|
color: #c9c9c9;
|
|
}
|
|
|
|
#searchBox #searchBoxIcon {
|
|
position: absolute;
|
|
height: 20px;
|
|
width: 20px;
|
|
top: 5px;
|
|
right: 10px;
|
|
}
|
|
|
|
#searchResults {
|
|
display: none;
|
|
position: absolute;
|
|
max-width: 600px;
|
|
/* min-width: 300px; */
|
|
margin: 0 auto;
|
|
top: 330px;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 5px;
|
|
background-color:#f6f6f6;
|
|
border: solid 1px #c9c9c9;
|
|
border-radius: 5px;
|
|
text-align: left;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
#searchResults .searchResultPage {
|
|
padding: 20px
|
|
}
|
|
|
|
#searchResults .searchResultTitle {
|
|
font-weight: bold;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
#searchResults .searchResultBody {
|
|
font-size: 14px;
|
|
}
|
|
|
|
#searchResults mark {
|
|
background-color: #dddfdf;
|
|
}
|
|
|
|
#tags ul {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
padding: 0;
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
list-style: none;
|
|
}
|
|
|
|
#tags li a {
|
|
display: block;
|
|
height: 24px;
|
|
margin: 5px;
|
|
padding: 0 5px;
|
|
background-color: #dddfdf;
|
|
border-radius: 5px;
|
|
font-size: 14px;
|
|
/* text-decoration: none; */
|
|
}
|
|
|
|
#contentsList {
|
|
padding: 20px 0;
|
|
}
|
|
|
|
#contentsList hr.separator {
|
|
width: 10px;
|
|
margin: 30px auto;
|
|
border: solid 1px #c9c9c9;
|
|
}
|
|
|
|
/* Page */
|
|
#contentBody {
|
|
max-width: 800px;
|
|
margin: 0 auto;
|
|
padding: 20px 0;
|
|
text-align: left;
|
|
}
|
|
|
|
.title {
|
|
font-family: 'Comfortaa';
|
|
}
|