Homepage UserCSS
code:style.css
/* 全体的な調整 */
body {
}
.app {
width: 100vw;
margin: 20px auto;
max-width: 1000px;
}
.container {
width: 100%;
padding: 0;
max-width: none;
}
.col-page {
width: auto;
max-width: 900px;
}
code:style.css
/* headerを作り出す */
.quick-launch.layout-list {
height: 15vw;
background-repeat: no-repeat;
background-position: center;
background-size: cover;
margin: 0;
}
code:style.css
/* カードの並べ方 */
.page-list ul.grid {
position: relative;
display: flex;
flex-direction: column-reverse;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
width: 100%;
margin-top: 100px;
}
code:style.css
/* ページ数表示を隠す */
/* プロジェクトボタンと並び替え、dropdownとslidebarを隠す */
.status-bar.page-list-status-bar,
.flex-item.text-right {
display: none;
}
/* navbarを消して検索Boxだけにする */
.navbar {
position: relative;
margin-bottom: 15px;
}
nav.navbar.navbar-default {
background: none;
}
.col-brand.dropdown {
display: none;
}
.col-search.hidden-xs .search-form .form-group {
width: 20vw;
max-width: 200px;
position: absolute;
right: 0;
bottom: 0;
}
@media (max-width: 960px) {
.col-search.hidden-xs .search-form .form-group {
display: none;
}
}
.col-search.hidden-xs .search-form input {
border: solid 1px gray;
color: rgba(85,85,85,0.7);
}
.col-search.hidden-xs .search-form input:focus {
color: rgb(85,85,85);
}
.search-form i.fa.fa-search {
color: gray;
}
code:style.css
/* ついでにnew buttonも */
.new-button {
background-color: rgba(0, 0, 0, 0);
position: absolute;
right: 200px;
bottom: 0;
}
.new-button .horizontal-line,
.new-button .vertilcal-line {
background-color: gray;
}
.new-button:hover {
}
@media (max-width: 960px) {
.new-button {
top: 54px;
right: 60px;
bottom: auto;
}
}
code:style.css
/* project-homeボタンの位置・見た目調整 */
.quick-launch .flex-box {
justify-content: flex-start;
}
.quick-launch .flex-box .flex-item:first-child {
display: flex;
align-items: flex-end;
position: absolute;
height: 54px;
top: 30px;
}
.quick-launch .project-home .title {
display: none;
}
.quick-launch .project-home::before {
content: "Kato Laboratory";
font-size: 36px;
}
@media (min-width: 960px) {
.quick-launch .flex-box .flex-item:first-child {
width: 620px;
}
.quick-launch .flex-box .flex-item:first-child {
top: 25px;
}
.quick-launch .flex-box .flex-item:first-child {
top: 25px;
}
.quick-launch .flex-box .flex-item > span {
height: 100%;
}
.quick-launch .project-home {
font-size: 30px;
left: -18px;
}
}
.quick-launch .project-home:hover, .quick-launch .project-home:active, .quick-launch .project-home:focus:hover {
background: none;
}
.quick-launch .flex-box .flex-item:first-child > span {
height: 40px;
}
code:style.css
/* 横幅が960px以下の場合にのみ適応されるUSerCSS */
@media (max-width: 960px) {
.navbar .row {
flex-direction: row-reverse;
}
li.page-list-item.grid-style-item {
margin: 0;
}
.grid li.page-list-item a .content .header .title {
font-size: 3vw;
}
nav.navbar.navbar-default {
position: inherit;
margin: 0;
}
.mobile-search-toggle i.fa.fa-search {
color: gray;
}
}
code:style.css
/* search (num) を移動する */
.search-result-count {
position: absolute;
bottom: calc(-54px - 25vw);
}
ul.list {
margin-top: 54px;
}
.list li.page-list-item {
border-left: solid 1px #DDD; border-right: solid 1px #DDD; box-shadow: none;
}
.list li.page-list-item:first-of-type {
border-top: solid 1px #DDD; }
.list li.page-list-item:last-of-type {
border-bottom: solid 1px #DDD; }
.list li.page-list-item a {
display: flex;
align-items: center;
}
code:style.css
.text {
font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Segoe UI", Hiragino Kaku Gothic ProN, "ヒラギノ角ゴ ProN W3", Arial, "メイリオ", Meiryo, sans-serif !important;
font-size: 14px;
line-height: 28px;
-webkit-font-feature-settings: 'palt' 1;
font-feature-settings: 'palt' 1;
word-wrap: break-word;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-font-kerning: normal;
font-kerning: normal;
}
.editor .line-title .text {
font-family: -apple-system, system-ui, "Helvetica Neue", "Segoe UI", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", Arial, メイリオ, Meiryo, sans-serif;
font-size: 32px;
line-height: 1.5;
letter-spacing: 0.04em;
font-weight: bold;
}
li.page-list-item .title {
font-size: 20px !important;
line-height: 1.5 !important;
}
li.page-list-item p {
font-size: 14px !important;
line-height: 1.8 !important;
}