website-theme/assets/css/style.css

324 lines
4.6 KiB
CSS
Raw Normal View History

/*
** 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%;
2022-05-08 16:40:46 -04:00
min-height: 100vh;
2019-03-23 05:12:24 -04:00
margin: 0;
padding: 0;
2019-03-23 05:12:24 -04:00
box-sizing:border-box;
background-color: #EFEFEF;
color: #575757;
2019-03-23 05:12:24 -04:00
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";
2019-03-23 05:12:24 -04:00
line-height: 1.5;
font-size: 1.1rem;
2019-03-23 12:59:56 -04:00
word-wrap: break-word;
2018-09-23 07:11:35 -04:00
}
a:link {
color: #575757;
2018-09-23 07:11:35 -04:00
}
a:visited {
color: #575757;
2018-09-23 07:11:35 -04:00
}
a:hover {
color: #575757;
2018-09-23 07:11:35 -04:00
}
a:active {
color: #575757;
2018-09-23 07:11:35 -04:00
}
.title {
font-family: 'Comfortaa';
}
/*
** HEADER
*/
.avatarMask {
clip-path: circle(48px at center);
-webkit-clip-path: circle(48px at center);
}
/* Topbar Header */
.header-top {
padding: 20px;
color: black;
background-color: #f2f2f2;
2022-05-08 16:22:06 -04:00
border-bottom: 1px solid #979797;
padding-left: 3rem;
}
.header-top a { color: black !important;}
.header-flex {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
align-items: center;
margin-left: auto;
margin-right: auto;
max-width: 800px;
}
.header-top .title { margin-right: 1rem; }
.header-top .h-card {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap-reverse;
width: 350px;
}
.header-top .h-card .u-photo {
2019-03-23 05:12:24 -04:00
height: 100px;
2018-09-23 07:11:35 -04:00
}
@media (max-width: 550px) {
.header-top {
padding-left: 20px;
}
.header-top .title { margin-right: 0; }
.header-flex { flex-direction: column; }
.header-top .h-card {
flex-direction: column-reverse;
}
}
/* END HEADER */
2018-09-23 07:11:35 -04:00
2022-05-08 16:40:46 -04:00
/*
** NAVIGATION
*/
.nav-home ul {
2019-03-23 05:12:24 -04:00
display: flex;
justify-content: space-evenly;
/* max-width: 300px; */
2019-03-23 05:12:24 -04:00
margin: 20px auto;
padding: 0;
list-style: none;
flex-wrap: wrap;
2018-09-23 07:11:35 -04:00
}
2022-05-08 16:40:46 -04:00
.nav-home li {
margin: 0 10px;
}
2022-05-08 16:40:46 -04:00
/* END NAVIGATION */
2022-05-08 18:13:52 -04:00
/*
** SEARCH
*/
mark {
color: #707070;
font-weight: bold;
}
2019-03-23 03:18:03 -04:00
#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%;
height: 100%;
2019-03-23 05:12:24 -04:00
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: 330px;
2019-03-23 05:12:24 -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;
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
}
2022-05-08 18:13:52 -04:00
/* END SEARCH */
/*
** TAGS
*/
#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;
}
2022-05-08 18:13:52 -04:00
/* END TAGS */
/*
** BLOG LIST PAGE
*/
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
}
2022-05-08 18:13:52 -04:00
/*
** FEED LIST PAGE
*/
2022-05-02 00:05:34 -04:00
#feedList {
text-align: left;
max-width: 800px;
margin-left: auto;
margin-right: auto;
}
#feedList h2 {
margin-bottom: 0.25rem;
}
#feedList .date {
margin-top: 0;
margin-bottom: 0;
border-bottom: 1px solid #c9c9c9;
}
2022-05-08 18:13:52 -04:00
/*
** STANDARD PAGE
*/
main {
padding: 20px 10px;
max-width: 800px;
margin: 0 auto;
}
2022-05-08 18:02:35 -04:00
main .e-content {
2019-03-23 05:12:24 -04:00
text-align: left;
2018-10-08 06:37:58 -04:00
}
2022-05-08 18:02:35 -04:00
main .e-content h2 {
padding-bottom: .3em;
font-size: 1.5em;
border-bottom: 1px solid #c9c9c9;
}
2022-05-08 16:40:46 -04:00
/*
** Home Page
*/
.main-home {
min-height: calc(100vh - 100px);
/* max-width: 600px; */
display: flex;
justify-content: center;
align-items: center;
}
.main-home .h-card {
max-width: 600px;
}
.main-home .h-card .avatar {
height: 250px;
}
.main-home .h-card .avatar img {
width: 250px;
position: absolute;
margin: 0 auto;
left: 0;
right: 0;
}
.main-home .h-card .avatarMask {
clip-path: circle(120px at center);
-webkit-clip-path: circle(120px at center);
}
/* END HOME PAGE */
/*
** Footer
*/
footer {
font-size: 12px;
box-sizing:border-box;
}
2022-05-08 18:13:52 -04:00
/* END FOOTER */
/*
** EXTRA
*/
#webmentions img { max-height: 1.2em; margin-right: -1ex; }
.date-updated { margin-top: -18px; }