メニューを切り替える
個人設定メニューを切り替える
個人メニューを切り替える
ログインしていません
編集を行うと、IPアドレスが公開されます。

「テンプレート:検索結果カード」の版間の差分

提供: 川西図鑑
編集の要約なし
編集の要約なし
1行目: 1行目:
<div class="result-card" style="border:1px solid #ccc; padding:10px; margin:8px; border-radius:8px; gap:10px;">
<div class="result-card" style="border:1px solid #ccc; padding:10px; margin:8px; border-radius:8px; gap:10px;">
 
<div class="card-header">
     <strong>{{{店名}}}</strong><br>
     <strong>{{{店名}}}</strong><br>
     <span>{{{ジャンル}}}</span><br>
     <span>{{{ジャンル}}}</span><br>
 
</div>
   <div style="flex-shrink:0;">
   <div style="flex-shrink:0;">
     [[File:{{{画像|NoImage.jpg}}}|100px]]
     [[File:{{{画像|NoImage.jpg}}}|100px]]
13行目: 13行目:
   </div>
   </div>
</div>
</div>
<html>
<style>
.search-card {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
  max-width: 600px;
  transition: box-shadow 0.2s;
}
.search-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}
.card-header {
  margin-bottom: 8px;
}
.card-title {
  margin: 0;
  font-size: 1.2em;
}
.card-genre {
  margin: 0;
  font-size: 0.9em;
  color: #666;
}
.card-images {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.card-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}
.card-info p {
  margin: 2px 0;
  font-size: 0.9em;
}
</style>
</html>

2025年10月27日 (月) 14:05時点における版

   {{{店名}}}
{{{ジャンル}}}