「テンプレート:Post/styles.css」の版間の差分
表示
編集の要約なし |
編集の要約なし |
||
| 1行目: | 1行目: | ||
.f-post{ | .f-post{ | ||
width: 100%; | width: 100%; | ||
margin-bottom: | margin-bottom: 16px; | ||
border-radius: 4px; | |||
box-shadow: 0 1px 3px rgba(0,0,0,.1); | |||
} | } | ||
.f-header{ | .f-header{ | ||
display: flex; | display: flex; | ||
padding: | align-items: center; | ||
background: # | padding: 4px 8px; | ||
border: 2px solid # | background: #e8e8e8; | ||
border-radius: | border: 1px solid #c8c8c8; | ||
border-bottom: 2px solid #b0b0b0; | |||
border-radius: 4px 4px 0 0; | |||
font-size: .88em; | |||
font-weight: bold; | font-weight: bold; | ||
gap: 2px; | |||
} | } | ||
.f-number-text{ | .f-number-text{ | ||
color:# | color: #888888; | ||
font-size: .95em; | |||
font-weight: normal; | |||
min-width: 2.5em; | |||
} | } | ||
.f-user-text{ | .f-user-text{ | ||
color: #2a6e2a; | |||
font-size: 1em; | |||
} | } | ||
.f-date{ | .f-date{ | ||
margin-left: auto; | margin-left: auto; | ||
color: #777777; | |||
font-size: .85em; | |||
font-weight: normal; | |||
white-space: nowrap; | |||
} | } | ||
.f-content{ | .f-content{ | ||
border: | border: 1px solid #c8c8c8; | ||
border-radius:0 0 | border-top: none; | ||
padding: | border-radius: 0 0 4px 4px; | ||
padding: 8px 12px; | |||
white-space: pre-wrap; | white-space: pre-wrap; | ||
font-size: .95em; | |||
line-height: 1.7; | |||
background: #fafafa; | |||
color: #222222; | |||
min-height: 2em; | |||
} | } | ||
.f-content p{ | .f-content p{ | ||
| 39行目: | 58行目: | ||
white-space: normal; | white-space: normal; | ||
} | } | ||
/* ===== レスホバープレビュー ===== */ | /* ===== レスホバープレビュー ===== */ | ||
#f-hover-popup{ | #f-hover-popup{ | ||
max-height: 300px; | |||
overflow-y: auto; | |||
padding: 2px; | |||
} | } | ||
#f-hover-popup .f-post{ | #f-hover-popup .f-post{ | ||
margin-bottom: 0; | |||
box-shadow: none; | |||
} | } | ||
/* >>>N リンクを5chライクに強調 */ | /* >>>N リンクを5chライクに強調 */ | ||
.f-content a[href^="#post-"]{ | .f-content a[href^="#post-"]{ | ||
color: #0645ad; | |||
font-weight: bold; | |||
text-decoration: none; | |||
} | } | ||
.f-content a[href^="#post-"]:hover{ | .f-content a[href^="#post-"]:hover{ | ||
text-decoration: underline; | |||
color: #d33; | |||
} | } | ||
2026年2月17日 (火) 18:45時点における版
.f-post{
width: 100%;
margin-bottom: 16px;
border-radius: 4px;
box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.f-header{
display: flex;
align-items: center;
padding: 4px 8px;
background: #e8e8e8;
border: 1px solid #c8c8c8;
border-bottom: 2px solid #b0b0b0;
border-radius: 4px 4px 0 0;
font-size: .88em;
font-weight: bold;
gap: 2px;
}
.f-number-text{
color: #888888;
font-size: .95em;
font-weight: normal;
min-width: 2.5em;
}
.f-user-text{
color: #2a6e2a;
font-size: 1em;
}
.f-date{
margin-left: auto;
color: #777777;
font-size: .85em;
font-weight: normal;
white-space: nowrap;
}
.f-content{
border: 1px solid #c8c8c8;
border-top: none;
border-radius: 0 0 4px 4px;
padding: 8px 12px;
white-space: pre-wrap;
font-size: .95em;
line-height: 1.7;
background: #fafafa;
color: #222222;
min-height: 2em;
}
.f-content p{
display: inline;
margin: 0;
padding: 0;
white-space: normal;
}
blockquote *{
white-space: pre !important;
}
ol, ul, dd{
white-space: normal;
}
/* ===== レスホバープレビュー ===== */
#f-hover-popup{
max-height: 300px;
overflow-y: auto;
padding: 2px;
}
#f-hover-popup .f-post{
margin-bottom: 0;
box-shadow: none;
}
/* >>>N リンクを5chライクに強調 */
.f-content a[href^="#post-"]{
color: #0645ad;
font-weight: bold;
text-decoration: none;
}
.f-content a[href^="#post-"]:hover{
text-decoration: underline;
color: #d33;
}