編集の要約なし |
編集の要約なし |
||
| 147行目: | 147行目: | ||
margin: 0 0.15em; | margin: 0 0.15em; | ||
color: #777; | color: #777; | ||
} | |||
/* ======================================== | |||
屋台比較 | |||
======================================== */ | |||
.stall-compare-control { | |||
margin: 1em 0; | |||
} | |||
.stall-compare-button { | |||
display: inline-block; | |||
padding: 0.7em 1.2em; | |||
border: 1px solid #777; | |||
border-radius: 6px; | |||
background: #fff; | |||
cursor: pointer; | |||
font-size: 1em; | |||
font-weight: 600; | |||
line-height: 1.4; | |||
} | |||
.stall-compare-button:hover { | |||
background: #f5f5f5; | |||
} | |||
.stall-compare-button-selected { | |||
border-width: 2px; | |||
font-weight: 700; | |||
} | |||
.stall-compare-message { | |||
display: inline-block; | |||
margin-left: 0.8em; | |||
font-size: 0.9em; | |||
} | |||
.stall-compare-message-error { | |||
font-weight: 700; | |||
} | |||
@media (max-width: 600px) { | |||
.stall-compare-button { | |||
width: 100%; | |||
box-sizing: border-box; | |||
padding: 0.85em 1em; | |||
} | |||
.stall-compare-message { | |||
display: block; | |||
margin: 0.5em 0 0; | |||
} | |||
} | } | ||
2026年8月11日 (火) 02:21時点における版
/* ここに記述したCSSはすべての外装に反映されます */
.area-child-item {
display: inline-block;
margin: 0.25em 0.5em 0.25em 0;
padding: 0.35em 0.65em;
border: 1px solid #ddd;
border-radius: 4px;
}
.area-child-item small {
color: #666;
margin-left: 0.25em;
}
/* =====================================
Area 地域一覧
===================================== */
.area-child-item {
display: inline-block;
box-sizing: border-box;
width: calc(25% - 12px);
margin: 6px;
padding: 10px 12px;
border: 1px solid #ddd;
border-radius: 6px;
background: #fafafa;
vertical-align: top;
}
.area-child-item a {
font-weight: 600;
text-decoration: none;
}
.area-child-item a:hover {
text-decoration: underline;
}
/* タブレット */
@media screen and (max-width: 900px) {
.area-child-item {
width: calc(33.333% - 12px);
}
}
/* スマートフォン */
@media screen and (max-width: 600px) {
.area-child-item {
width: calc(50% - 12px);
}
}
/* 小型スマートフォン */
@media screen and (max-width: 400px) {
.area-child-item {
width: calc(100% - 12px);
}
}
/* =====================================
Festival 開催地域
===================================== */
.festival-areas {
margin: 1em 0;
}
.festival-area-item {
display: flex;
align-items: center;
gap: 0.6em;
margin: 0.4em 0;
padding: 0.65em 0.8em;
border: 1px solid #ddd;
border-radius: 6px;
background: #fafafa;
}
.festival-area-relation {
display: inline-block;
min-width: 5.5em;
padding: 0.15em 0.5em;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 0.85em;
text-align: center;
}
.festival-area-item a {
font-weight: 600;
}
.festival-area-type {
color: #666;
font-size: 0.85em;
}
@media screen and (max-width: 600px) {
.festival-area-item {
flex-wrap: wrap;
}
}
/* =====================================
Festival パンくず
===================================== */
.festival-breadcrumb {
margin: 0 0 1.2em;
padding: 0.65em 0.8em;
font-size: 0.9em;
line-height: 1.7;
background: #fafafa;
border-radius: 6px;
}
.festival-breadcrumb a {
white-space: nowrap;
}
.festival-breadcrumb p {
display: inline;
margin: 0;
padding: 0;
}
.breadcrumb-separator {
margin: 0 0.15em;
color: #777;
}
/* ========================================
屋台比較
======================================== */
.stall-compare-control {
margin: 1em 0;
}
.stall-compare-button {
display: inline-block;
padding: 0.7em 1.2em;
border: 1px solid #777;
border-radius: 6px;
background: #fff;
cursor: pointer;
font-size: 1em;
font-weight: 600;
line-height: 1.4;
}
.stall-compare-button:hover {
background: #f5f5f5;
}
.stall-compare-button-selected {
border-width: 2px;
font-weight: 700;
}
.stall-compare-message {
display: inline-block;
margin-left: 0.8em;
font-size: 0.9em;
}
.stall-compare-message-error {
font-weight: 700;
}
@media (max-width: 600px) {
.stall-compare-button {
width: 100%;
box-sizing: border-box;
padding: 0.85em 1em;
}
.stall-compare-message {
display: block;
margin: 0.5em 0 0;
}
}