settings
色とか
code:style.css
/**
* :not(#specificity-hack) は存在しない ID の not を設定することで CSS の詳細度を上げる Hack
*/
html:not(#specificity-hack) {
--card-box-hover-shadow: 0 2px 0 rgba(0, 0, 0, 0.23);
--tool-bg: rgba(0, 0, 0, 0.1);
--relation-label-bg: #fff; --relation-label-links-bg: #fff; --relation-label-empty-bg: #fff; --navbar-icon-color: #fff; --navbar-icon-active-color: rgba(255, 255, 255, 0.5);
--navbar-icon-hovered-color: var(--navbar-icon-active-color);
--search-form-bg: rgba(255, 255, 255, 0.2);
--search-form-text-color: rgba(255, 255, 255, 0.5);
--card-title-color: #444; --card-hover-bg: rgba(0, 0, 0, 0.05);
--card-active-bg: rgba(0, 0, 0, 0.1);
--card-box-shadow: 0 2px 0 var(--card-box-shadow-color);
--relation-label-text: #444; --relation-label-links-text: #fff; --relation-label-empty-text: #fff; --new-button-hover-bg: var(--navbar-bg);
--new-button-active-bg: var(--navbar-bg);
--line-title-color: #444; --search-form-icon-color: #fff; --search-form-icon-focus-color: #4a4a4a; }
logo を変更
code:style.css
html {
}
.brand-icon {
background-position: center;
border-radius: 999999px;
background-size: 80%;
background-repeat: no-repeat;
}
検索バー
code:style.css
.navbar .row .col-search {
width: 60%;
}
.navbar .row .col-menu,
.navbar .row .col-brand {
width: 0;
flex-grow: 1;
}
.search-form .form-group input {
border-radius: 999999px;
}
追加ボタン
code:style.css
.new-button {
width: 54px;
height: 54px;
border-radius: 54px;
background-color: var(--navbar-bg);
--new-button-vertical-color: #fff; --new-button-horizontal-color: #fff; position: absolute;
top: 0;
right: 0;
box-shadow: 0px 3px 5px -1px rgb(0 0 0 / 20%), 0px 6px 10px 0px rgb(0 0 0 / 14%), 0px 1px 18px 0px rgb(0 0 0 / 12%);
transform: translateY(100vh) translateY(-100%) translate(-3rem, -3rem);
}
.new-button .horizontal-line {
top: 25px;
left: 15px;
}
.new-button .vertical-line {
left: 25px;
top: 15px;
}