website-theme/static/css/style.css

191 lines
2.9 KiB
CSS
Raw Normal View History

2019-03-23 03:18:03 -04:00
/* General */
2018-09-23 07:11:35 -04:00
body {
2019-03-23 03:18:03 -04:00
min-height:100vh;
2018-09-23 07:11:35 -04:00
margin: 0;
2019-03-23 03:18:03 -04:00
padding: 20px;
box-sizing:border-box;
2018-09-23 07:11:35 -04:00
background-color: #EFEFEF;
color: #707070;
text-align: center;
font-family:-apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI","Noto Sans Japanese","ヒラギノ角ゴ ProN W3", Meiryo, sans-serif;
line-height: 1.5;
}
a:link {
color: #707070;
}
a:visited {
color: #707070;
}
a:hover {
color: #707070;
}
a:active {
color: #707070;
}
.author {
color: #C39F59;
}
.date {
color: #869D38;
}
2019-03-23 03:18:03 -04:00
/* Header */
header .avatar {
2018-09-23 07:11:35 -04:00
position: relative;
height: 100px;
}
2019-03-23 03:18:03 -04:00
header .avatar img {
2018-09-23 07:11:35 -04:00
position: absolute;
width: 100px;
margin: 0 auto;
left: 0;
right: 0;
}
2019-03-23 03:18:03 -04:00
header .avatarMask {
2018-09-23 07:11:35 -04:00
clip-path: circle(48px at center);
-webkit-clip-path: circle(48px at center);
}
2019-03-23 03:18:03 -04:00
header a.author:link {
color: #C39F59;
}
header a.author:visited {
color: #C39F59;
}
header a.author:hover {
color: #C39F59;
}
header a.author:active {
color: #C39F59;
}
/* Footer */
footer {
font-size: 12px;
box-sizing:border-box;
}
/* Top page */
#profileContainer {
min-height: calc(100vh - 100px);
2018-10-08 06:37:58 -04:00
display: flex;
2018-09-23 07:11:35 -04:00
justify-content: center;
2019-03-23 03:18:03 -04:00
align-items: center;
2018-09-23 07:11:35 -04:00
}
2019-03-23 03:18:03 -04:00
#profile {
max-width: 600px;
2018-09-23 07:11:35 -04:00
min-width: 300px;
}
nav ul {
display: flex;
justify-content: space-evenly;
width: 300px;
margin: 20px auto;
padding: 0;
list-style: none;
}
2019-03-23 03:18:03 -04:00
/* Contents List */
#searchBox {
2018-10-08 06:37:58 -04:00
position: relative;
width: 300px;
height: 30px;
2019-03-23 03:18:03 -04:00
margin: 20px auto;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchBox #searchBoxInput {
2018-10-08 06:37:58 -04:00
position: absolute;
width: 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;
}
2019-03-23 03:18:03 -04:00
#searchBox #searchBoxInput::placeholder {
2018-10-08 06:37:58 -04:00
color: #c9c9c9;
}
2019-03-23 03:18:03 -04:00
#searchBox #searchBoxIcon {
position: absolute;
height: 20px;
width: 20px;
top: 5px;
right: 10px;
}
#searchResults {
2018-10-08 06:37:58 -04:00
display: none;
position: absolute;
max-width: 600px;
min-width: 300px;
margin: 0 auto;
2019-03-23 03:18:03 -04:00
top: 240px;
2018-10-08 06:37:58 -04:00
left: 0;
right: 0;
padding: 5px;
background-color:#f6f6f6;
border: solid 1px #c9c9c9;
border-radius: 5px;
text-align: left;
box-sizing: border-box;
}
2019-03-23 03:18:03 -04:00
#searchResults .searchResultPage {
2018-10-08 06:37:58 -04:00
padding: 20px
}
2019-03-23 03:18:03 -04:00
#searchResults .searchResultTitle {
2018-10-08 06:37:58 -04:00
font-weight: bold;
margin: 5px 0;
}
2019-03-23 03:18:03 -04:00
#searchResults .searchResultBody {
2018-10-08 06:37:58 -04:00
font-size: 14px;
}
2019-03-23 03:18:03 -04:00
#searchResults mark {
background-color: #dddfdf;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#contentsList {
padding: 20px;
}
#contentsList hr.separator {
width: 10px;
margin: 30px auto;
border: solid 1px #C9C9C9;
}
/* Page */
div.markdown-body {
width: 90vw;
max-width: 800px;
min-width: 300px;
margin: 0 auto;
padding: 20px;
text-align: left;
2018-10-08 06:37:58 -04:00
}