website-theme/static/css/style.css

169 lines
2.6 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 12:59:56 -04:00
-ms-text-size-adjust: 100%;
-webkit-text-size-adjust: 100%;
2019-03-23 05:12:24 -04:00
min-height:100vh;
margin: 0;
padding: 20px;
box-sizing:border-box;
background-color: #EFEFEF;
color: #707070;
text-align: center;
2019-03-23 12:59:56 -04:00
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
2019-03-23 05:12:24 -04:00
line-height: 1.5;
2019-03-23 12:59:56 -04:00
font-size: 16px;
word-wrap: break-word;
2018-09-23 07:11:35 -04:00
}
a:link {
2019-03-23 05:12:24 -04:00
color: #707070;
2018-09-23 07:11:35 -04:00
}
a:visited {
2019-03-23 05:12:24 -04:00
color: #707070;
2018-09-23 07:11:35 -04:00
}
a:hover {
2019-03-23 05:12:24 -04:00
color: #707070;
2018-09-23 07:11:35 -04:00
}
a:active {
2019-03-23 05:12:24 -04:00
color: #707070;
2018-09-23 07:11:35 -04:00
}
2019-03-23 03:18:03 -04:00
/* Header */
header .avatar {
2019-03-23 05:12:24 -04:00
position: relative;
height: 100px;
2018-09-23 07:11:35 -04:00
}
2019-03-23 03:18:03 -04:00
header .avatar img {
2019-03-23 05:12:24 -04:00
position: absolute;
width: 100px;
margin: 0 auto;
left: 0;
right: 0;
2018-09-23 07:11:35 -04:00
}
2019-03-23 03:18:03 -04:00
header .avatarMask {
2019-03-23 05:12:24 -04:00
clip-path: circle(48px at center);
-webkit-clip-path: circle(48px at center);
2018-09-23 07:11:35 -04:00
}
2019-03-23 03:18:03 -04:00
/* Footer */
footer {
2019-03-23 05:12:24 -04:00
font-size: 12px;
box-sizing:border-box;
2019-03-23 03:18:03 -04:00
}
/* Top page */
#profileContainer {
2019-03-23 05:12:24 -04:00
min-height: calc(100vh - 100px);
display: flex;
justify-content: center;
align-items: center;
2018-09-23 07:11:35 -04:00
}
2019-03-23 03:18:03 -04:00
#profile {
2019-03-23 05:12:24 -04:00
max-width: 600px;
2019-03-23 12:59:56 -04:00
/* min-width: 300px; */
2018-09-23 07:11:35 -04:00
}
nav ul {
2019-03-23 05:12:24 -04:00
display: flex;
justify-content: space-evenly;
2019-03-23 12:59:56 -04:00
max-width: 300px;
2019-03-23 05:12:24 -04:00
margin: 20px auto;
padding: 0;
list-style: none;
2018-09-23 07:11:35 -04:00
}
2019-03-23 03:18:03 -04:00
/* Contents List */
#searchBox {
2019-03-23 05:12:24 -04:00
position: relative;
2019-03-23 12:59:56 -04:00
max-width: 300px;
2019-03-23 05:12:24 -04:00
height: 30px;
margin: 20px auto;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchBox #searchBoxInput {
2019-03-23 05:12:24 -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;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchBox #searchBoxInput::placeholder {
2019-03-23 05:12:24 -04:00
color: #c9c9c9;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchBox #searchBoxIcon {
2019-03-23 05:12:24 -04:00
position: absolute;
height: 20px;
width: 20px;
top: 5px;
right: 10px;
2019-03-23 03:18:03 -04:00
}
#searchResults {
2019-03-23 05:12:24 -04:00
display: none;
position: absolute;
max-width: 600px;
2019-03-23 12:59:56 -04:00
/* min-width: 300px; */
2019-03-23 05:12:24 -04:00
margin: 0 auto;
top: 240px;
left: 0;
right: 0;
padding: 5px;
background-color:#f6f6f6;
border: solid 1px #c9c9c9;
border-radius: 5px;
text-align: left;
box-sizing: border-box;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchResults .searchResultPage {
2019-03-23 05:12:24 -04:00
padding: 20px
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchResults .searchResultTitle {
2019-03-23 05:12:24 -04:00
font-weight: bold;
margin: 5px 0;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchResults .searchResultBody {
2019-03-23 05:12:24 -04:00
font-size: 14px;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#searchResults mark {
2019-03-23 05:12:24 -04:00
background-color: #dddfdf;
2018-10-08 06:37:58 -04:00
}
2019-03-23 03:18:03 -04:00
#contentsList {
2019-03-23 12:59:56 -04:00
padding: 20px 0;
2019-03-23 03:18:03 -04:00
}
#contentsList hr.separator {
2019-03-23 05:12:24 -04:00
width: 10px;
margin: 30px auto;
2019-03-23 12:59:56 -04:00
border: solid 1px #c9c9c9;
2019-03-23 03:18:03 -04:00
}
/* Page */
2019-03-23 12:59:56 -04:00
#contentBody {
2019-03-23 05:12:24 -04:00
max-width: 800px;
margin: 0 auto;
2019-03-23 12:59:56 -04:00
padding: 20px 0;
2019-03-23 05:12:24 -04:00
text-align: left;
2018-10-08 06:37:58 -04:00
}