wordpress-theme-cbsonline/style.css

386 lines
9.2 KiB
CSS
Raw Normal View History

2020-10-29 23:50:19 +09:00
/*
Theme Name: CBS Online
Template: bizvektor-global-edition
2020-11-12 16:27:19 +09:00
Version: 20201112
2020-10-29 23:50:19 +09:00
*/
2020-11-06 19:38:31 +09:00
/* general */
2020-10-29 23:50:19 +09:00
body {
2020-11-06 19:38:31 +09:00
font-size: 100% !important;
line-height: 130% !important;
}
/* header */
@media (min-width: 660px) {
.headLogoWrap {
float: left;
width: 250px;
}
.header-widget {
float: right;
width: calc(100% - 250px);
}
.header-widget .searchform {
clear: both;
}
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#header #site-title {
padding-bottom: 3px !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#header #site-description {
color: #333 !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
/* header widget area */
2020-10-29 23:50:19 +09:00
.header-widget-area-wrap {
2020-11-06 19:38:31 +09:00
white-space: nowrap;
text-align: right;
2020-10-29 23:50:19 +09:00
}
.header-widget .rounded {
2020-11-06 19:38:31 +09:00
display: none;
2020-10-29 23:50:19 +09:00
}
.header-widget-area-wrap .header-widget-area {
2020-11-06 19:38:31 +09:00
display: inline;
margin-left: 15px;
2020-10-29 23:50:19 +09:00
}
.header-widget-area-wrap .header-widget-area div,
2020-11-06 19:38:31 +09:00
.header-widget-area-wrap .header-widget-area p,
.header-widget-area-wrap .header-widget-area ul,
2020-10-29 23:50:19 +09:00
.header-widget-area-wrap .header-widget-area li {
2020-11-06 19:38:31 +09:00
display: inline;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
body.ja .bogo-language-switcher .ja,
body.en-US .bogo-language-switcher .en {
display: none;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
/* search form */
form#searchform {
background: none !important;
padding-top: 10px !important;
margin-bottom: 15px !important;
}
form#searchform input#s {
float: right !important;
width: 200px !important;
}
form#searchform input#searchsubmit {
background-color: #000 !important;
border-radius: 0 !important;
color: #fff !important;
width: 80px !important;
}
/* global menu */
@media (min-width: 770px) {
#gMenu {
border-bottom: 4px solid #111986 !important;
}
#gMenu .menu {
border-left: none !important;
float: right;
}
#gMenu .menu li {
2020-11-25 13:51:01 +09:00
margin: 1px 2px 0;
2020-11-06 19:38:31 +09:00
}
#gMenu .menu li a {
2020-12-24 17:44:06 +09:00
border-top: 2px solid #dcdcdc;
border-left: 1px solid #dcdcdc;
2020-11-06 19:38:31 +09:00
font-weight: bold !important;
2020-12-24 17:44:06 +09:00
background-color: #dddddd;
2020-11-06 19:38:31 +09:00
padding: 5px 15px 5px !important;
2020-12-24 17:44:06 +09:00
color: #555 !important;
2020-11-24 17:57:26 +09:00
}
#gMenu .menu > li > a {
2020-12-24 17:44:06 +09:00
border-right: 1px solid #adadad !important;
2020-11-06 19:38:31 +09:00
border-radius: 5px 5px 0 0;
}
#gMenu .menu li a strong {
font-weight: bold !important;
}
2020-11-24 17:57:26 +09:00
#gMenu .menu li.current_page_parent > a,
2020-11-06 19:38:31 +09:00
#gMenu .menu li.current_page_item > a,
2020-12-24 17:44:06 +09:00
#gMenu .menu li.current-menu-item > a,
2020-11-06 19:38:31 +09:00
#gMenu .menu li > a:hover {
2020-12-24 17:44:06 +09:00
border-top: 2px solid orange;
background-color: #ffffff !important;
color: #333 !important;
2020-11-06 19:38:31 +09:00
}
}
2020-12-24 17:44:06 +09:00
#gMenu .menu li.current_page_item > a,
#gMenu .menu li.current-menu-item > a,
#gMenu .menu li > a:hover {
background-color: #f5f5f5;
}
2020-11-06 19:38:31 +09:00
/* bread crumbs */
.bcnlist {
margin: 15px 0;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
/* main content */
#topFreeArea {
border-bottom: none !important;
box-shadow: none !important;
2020-10-29 23:50:19 +09:00
}
2020-11-24 17:57:26 +09:00
#topFreeArea::after,
#container::after {
2020-11-06 19:38:31 +09:00
content: "";
display: block;
clear: both;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#container {
padding-top: 0 !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#content.wide {
width: 100% !important;
margin: 0 auto !important;
float: none !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#container #content p {
padding: 0px;
2021-07-19 13:53:20 +09:00
margin-bottom: 1rem;
2020-11-06 19:38:31 +09:00
}
#container #content table {
border-top: none;
2020-10-29 23:50:19 +09:00
}
.entry-title {
font-size: 128.6%;
font-weight: bold;
color: #333;
position: relative;
line-height: 114.3%;
2020-11-06 19:38:31 +09:00
border-top: none !important;
border-bottom: 2px solid #111986 !important;
border-left: 5px solid #111986 !important;
padding: 5px 0 5px 5px !important;
margin-bottom: 10px !important;
clear: both;
2020-10-29 23:50:19 +09:00
}
2021-07-19 13:53:20 +09:00
#content .entry-content h1,
#content .entry-content h2,
#content .entry-content h3,
#content .entry-content h4,
#content .entry-content h5,
#content .entry-content h6 {
margin: 2rem 0 1.38rem;
}
2020-10-29 23:50:19 +09:00
#content .entry-content h2 {
2020-11-06 19:38:31 +09:00
border: none !important;
border-left: 5px solid #8F8F8F !important;
padding-left: 10px;
padding-top: 5px;
padding-bottom: 5px;
2020-10-29 23:50:19 +09:00
}
#content .entry-content h3 {
2020-11-06 19:38:31 +09:00
border: none !important;
padding-left: 0 !important;
2020-10-29 23:50:19 +09:00
}
#content .entry-content h4 {
border: none !important;
}
2020-11-06 19:38:31 +09:00
#content .infoList .infoListBox div.entryTxtBox p {
margin-bottom: 10px !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
/* side bar */
@media (min-width: 970px) {
#sideTower {
width: 280px !important;
}
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#sideTower {
background: #c4c6e1;
padding-top: 30px;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#sideTower .sideWidget li a:hover,
#sideTower .sideWidget li.current_page_item a,
#sideTower .sideWidget li.current-cat a {
2020-10-29 23:50:19 +09:00
background: none !important;
}
2020-11-06 19:38:31 +09:00
#sideTower .sideWidget li.current_page_item a {
font-weight: bold;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#sideTower .sideWidget li.current_page_item ul.children a {
font-weight: normal;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#sideTower .sideWidget li.current_page_item a:hover {
text-decoration: underline;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#sideTower .sideWidget li ul li {
2020-10-29 23:50:19 +09:00
border-bottom: none !important;
}
2020-11-06 19:38:31 +09:00
#sideTower ul.localNavi ul.children {
border-top: 2px solid #333;
margin-left: 30px;
margin-right: 30px;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#sideTower ul.localNavi ul.children a {
padding: 13px 5px 11px 20px;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
.single #sideTower .sideWidget,
2020-10-29 23:50:19 +09:00
.archive #sideTower .sideWidget {
2020-11-06 19:38:31 +09:00
margin-left: 28px;
margin-right: 28px;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
.single #sideTower .sideWidget .localHead,
2020-10-29 23:50:19 +09:00
.archive #sideTower .sideWidget .localHead {
2020-11-06 19:38:31 +09:00
border-top: none !important;
border-bottom: 2px solid #666 !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
/* footer */
#footerSection {
top: 0 !important;
background: #e5e5e5;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#siteBottom {
background: #333;
padding: 40px 0 !important;
color: #FFF !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#footer {
display: none !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
/* footer menu */
#footMenu .menu {
border-left: none !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#footMenu .menu li {
padding: 5px 0 !important;
}
#footMenu .menu li a {
border-right: none !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#footMenu .innerBox {
border-bottom: none !important;
}
/* front page */
@media (min-width: 770px) {
#mainContainer #sideNav {
width: 260px;
float: left;
}
#mainContainer #mainContents {
width: calc(100% - 330px); /* 630px; */
float: left;
margin-left: 20px;
}
}
#mainContainer #sideNav {
padding: 20px;
background-color: #eee;
}
#content #topBlog.infoList ul.entryListTop li {
list-style: disc outside;
border-bottom: none;
margin-left: 1.2em;
}
#content #topBlog.infoList ul.entryListTop li .newsDate {
display: inline-block;
width: 8em;
vertical-align: top;
}
#content #topBlog.infoList ul.entryListTop li .newsTitle {
display: inline-block;
width: calc(100% - 9.7em);
vertical-align: top;
}
/* top box */
@media (min-width: 770px) {
#content .topbox {
width: 31%;
margin: 0 1%;
float: left;
box-sizing: border-box;
}
}
#content .topbox {
padding: 15px;
height: auto !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
#content .topbox p {
margin-bottom: 10px !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
/* error page */
#content .error404 {
padding-right: 160px;
padding-top: 40px;
padding-bottom: 80px !important;
2020-10-29 23:50:19 +09:00
}
2020-11-06 19:38:31 +09:00
/* search page */
.search #content ul.linkList {
font-size: 100%;
margin-bottom: 40px;
}
2020-10-29 23:50:19 +09:00
/* category page */
#content hr.gradient {
margin: 2em 0;
border: 0;
height: 1px;
background-image: linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
background-image: -webkit-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
background-image: -moz-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
background-image: -ms-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
background-image: -o-linear-gradient(left, #f0f0f0, #8c8b8b, #f0f0f0);
}
/* wpforo */
#wpforo #wpforo-wrap .wpfl-2 .head-stat-posts,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-posts {
width: 1% !important;
}
#wpforo #wpforo-wrap .wpfl-2 .head-stat-views,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-views {
width:14% !important;
}
2020-12-03 14:52:03 +09:00
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-avatar .featured-image {
background-color: #fcfcfc;
margin: 5px 8px;
width: 80px;
height: 55px;
line-height: 55px;
vertical-align: middle;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-avatar .featured-image a,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-avatar .featured-image a img {
vertical-align: middle;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-custom_fields .label {
color: #ff812d;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-stat-views {
font-size: 13px !important;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-custom_fields {
font-size: 12px;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-custom_fields .label {
color: #ff812d;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-topic-custom_fields .label::after {
content: ': ';
}
2020-12-03 14:52:03 +09:00
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-left {
display: none;
}
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right {
margin-left: 0 !important;
}
2020-12-04 14:19:16 +09:00
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpforo-post-content-top .wpf-action.wpforo-report,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpforo-post-content-top .wpf-action.wpforo-close,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpforo-post-content-top .wpf-action.wpforo-private,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpforo-post-content-top .wpf-action.wpforo-sticky,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpforo-post-content-top .wpf-action.wpforo-solved,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpforo-post-content-top .wpf-action.wpforo-unsolved,
#wpforo #wpforo-wrap .wpfl-2 .wpforo-post .wpf-right .wpf-post-button-actions span.wpf-action.wpforo-like {
display: none;
}