Created
February 14, 2020 06:54
-
-
Save shigesanpo/90524088c16e6993340e4881b7ee37aa to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* カテゴリの位置変更 */ | |
.page-archive .archive-entry .categories { | |
position: absolute; | |
top:0px; | |
left:5px; | |
} | |
/* カテゴリーの背景とテキストの色 */ | |
.categories a { | |
border-radius: 10px;/*角の丸み*/ | |
background: #7EBEAB; | |
color:#fff; | |
} | |
/* カテゴリーを親カテゴリーのみ表示 */ | |
.page-archive .categories a:nth-child(n + 2) { | |
display: none;/*親カテゴリのみ表示*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment