wordpress-theme-cbsonline/style.css

316 lines
6.8 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 {
margin-left: 5px;
}
#gMenu .menu li a {
border-right: none;
font-weight: bold !important;
background-color: #b2b2b2;
padding: 5px 15px 5px !important;
color: #000000;
2020-11-24 17:57:26 +09:00
}
#gMenu .menu > li > a {
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,
#gMenu .menu li > a:hover {
background-color: #444444 !important;
color: #FFFFFF !important;
}
}
/* 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;
margin-bottom: 30px;
}
#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
}
#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);
}