settings
code:style.css
.deco-\{, .deco-\} {
font-size: 1em;
padding: 0.1em 0.2em 0.1em 0.2em;
border-radius: 0.4em;
margin: auto 0.3em;
display: inline-block;
max-width: calc(100% - 100px);
vertical-align: top;
}
.deco-\{:before {
position: absolute;
margin: 0;
padding: 0;
transform: translateX(-100%) translateY(calc(1em - 80%));
width: 0;
content: "";
border-width: 0 0 0.6em 0.6em;
border-style: solid;
}
.deco-\}:after {
position: absolute;
margin: 0;
padding: 0;
transform: translateY(calc(1em - 80%));
width: 0;
content: "";
border-width: 0 0.6em 0.6em 0;
border-style: solid;
}
.deco-\! {
padding: 0.1em 0.2em 0.1em 0.2em;
}
code:style.css
@import url("/api/code/help-jp/文字装飾記法/style.css")
.deco-\# {
background-color: #6a6; /* 緑背景 */ padding: 0.1em 0.2em 0.1em 0.2em;
}
.deco-\! { /* 重要な部分は!を付ける */
background-color: #e66; /* 赤背景 */ font-size: 1.2em;
}
.deco-\% {
font-size: 1.2em;
}
.deco-\# {
font-size: 1.2em;
}
.deco-\~ {
font-size: 1.2em;
}
アイコンをHiTech!アイコンにする
code:style.css
.navbar-brand::before {
content: '';
width: 36px;
height: 36px;
position: absolute;
background-size: cover;
border-radius: 9999px;
}
https://gyazo.com/96327df12ed6a93dc6f7301d632e214b
#で始まるタグをラベル風にする
code:style.css
display: inline-block;
padding: 2px 8px;
margin: 0 8px 10px 0;
font-size: 0.8em;
border-radius: 3px;
transition: .3s;
-webkit-transform: scale(1);
transform: scale(1);
}
}
-webkit-transform: scale(1.1);
transform: scale(1.1);
}
ナビゲーションバー固定
code:style.css
.quick-launch .flex-box .flex-item .left-box{
position: fixed;
left: calc(calc(100% - 1184px) * 0.5 + 48px);
color: white;
top: 0em;
z-index: 1000;
}
@media (max-width: 1276px){
.quick-launch .flex-box .flex-item .left-box{
left: 86px;
}
}
@media (max-width: 992px){
.quick-launch .flex-box .flex-item .left-box{
left: 64px;
}
}
@media (max-width: 768px){
.quick-launch .flex-box .flex-item .left-box{
left: 56px;
}
}
下矢印消す
code:style.css
span.kamon.kamon-caret-down {
display: none;
}