Last active
July 7, 2022 02:54
-
-
Save amuhororo/a7a1a929a5305e6196f6bad2c7e27a82 to your computer and use it in GitHub Desktop.
縦書き用CSS
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
/* box-sizingを指定 */ | |
.area_save_list, | |
.area_save_list * { | |
box-sizing: border-box; | |
} | |
/* セーブエリアの設定 */ | |
.area_save_list { | |
overflow-x: scroll; | |
overflow-y: initial; | |
margin: 10px; | |
height: 550px; | |
} | |
/* セーブリスト全体の設定 */ | |
.save_list { | |
writing-mode:tb-rl; | |
writing-mode:vertical-rl ; | |
-webkit-writing-mode:vertical-rl ; | |
display: flex; | |
flex-direction: column; | |
height: 100%; | |
} | |
/* セーブリストのアイテム毎の設定 */ | |
.save_list_item { | |
display: flex; | |
width: 200px; | |
height: 100%; | |
margin: 0 7px; | |
border: 1px solid #ccc; | |
background-color: rgba(255 ,255 ,255 ,.3); | |
} | |
/* セーブデータのサムネイルエリアの設定 */ | |
.save_list_item_thumb { | |
display: block; | |
background-image: url(../../tyrano/images/system/thumbnail.png); | |
background-repeat: no-repeat; | |
background-position: center; | |
background-color: initial; | |
width: 100%; | |
height: 144px; | |
padding: 10px; | |
} | |
/* セーブデータのサムネイル画像の設定 */ | |
.save_list_item_thumb img { | |
height: 100%; | |
width: 100%; | |
margin: 0; | |
} | |
/* セーブデータのテキストエリアの設定 */ | |
.save_list_item_area { | |
display: block; | |
position: relative; | |
width: 100%; | |
height: 100%; | |
background: none; | |
padding: 10px; | |
} | |
/* セーブデータの日付の設定 */ | |
.save_list_item_date { | |
padding: 0 20px; | |
} | |
/* セーブデータのテキストの設定 */ | |
.save_list_item_text { | |
position: absolute; | |
height: 92%; | |
padding: 0 15px; | |
max-width: 120px; | |
right: 62px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment