css Del Mar CSS Starter

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了css Del Mar CSS Starter相关的知识,希望对你有一定的参考价值。

/** SWATCHES **/
/** Place any hex codes for branded colors here for quick reference. **/
/**  **/
/**  **/

/** Google Font Import **/


/** TYPOGRAPHY **/
/** Place any CSS code in this section that changes or modifies the headlines, paragraphs or links. **/
*{
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a:hover, a:focus{
  text-decoration: none;
  color: #333;
}


/** HOMEPAGE TEMPLATE **/
/** Place any CSS code in this section that changes or modifies the template including Body, Container, Aside, or Content. **/

/* full width content/hidden sidebar */
.homepage #content article{
  width: 100%;
}
.homepage #content aside{
  display: none;
}
.homepage .rule{
  display: none;
}
.homepage #suggested .content img {
  height: 220px;
  background-size: cover;
}


/** SUBPAGES TEMPLATE **/
/** Place any CSS code in this section that changes or modifies the subpage template including Body, Container, Aside, or Content. **/


/** HEADER **/
/** Place any CSS code in this section that changes or modifies the main header in Header or .header **/
header{
  background: none;
}

/** NAVIGATION **/
/** Place any CSS code in this section that changes or modifies the main navigation bar including Nav, or .socialSidebar **/
nav#main, nav#main .container, nav#main ul li{
  background: none;
}
nav#main{
  height: auto;
  background: #333;
}
nav#main .container{
  padding: 0;
}
nav#main ul{
  display: inline-block;
}
nav#main a.homeButton{
  display: none; /* remove FMG home icon image */
}
nav#main a, nav#main a:visited{
  color: #fff;
  text-transform: capitalize;
  display: block;
  border-left: 1px solid #333;
  padding: 10px 15px;
  font-size: 16px;
}
nav#main a:hover, nav#main a:focus{
  color: #868686;
}
nav#main li{
  margin: 0;
  padding: 0;
  display: inline-block;
}
nav#main li.first a {
  font-size: 15px;
  padding-bottom: 10px;
}
nav#main ul ul {
  top: 35px;
  background-color: rgba(0, 0, 0, .5);
  margin-left: 26px;
}
nav#main ul ul li {
  display: block;
  border-left: none;
}
nav#main ul ul li a{
  display: block;
  border-left: none;
  font-size: 14px;
}
nav#main ul ul a:hover{
  background: #333;
  color: #fff;
}
nav#main a + a, nav#main li a + a{
  display: none;
}


/** HERO ROTATOR **/
/** Place any CSS code in this section that changes or modifies the Hero Rotator #hero **/
#hero{
  background: none;
  color: inherit;
}

/** HERO ROTATOR ASIDE **/
/** Place any CSS code in this section that changes or modifies the Hero Rotator #hero aside or wrapper **/
#hero h2{
  color: inherit;
}

/** SIDEBAR WIDGET **/
/** Place any CSS code in this section that changes or modifies the Sidebar Widgets, both default and custom **/
#content aside {
  background-color: #F8F8F8;
  background-color: rgba(255, 255, 255, 0.5);
  width: 315px;
  margin-left: 645px;
  border-left: 1px dashed #D5D5D5;
  padding-bottom: 20px;
  margin-bottom: 30px;
}
#content aside .wrapper {
  padding: 15px;
}
#content aside .rule {
  width: 94%;
  border-bottom: 1px solid #EFEFEF;
  display: block;
  margin: 10px auto;
  background: none;
}
#content aside .rule:first-child {
  display: none;
}


/** FOOTER **/
/** Place any CSS code in this section that changes or modifies the main footer in Footer or .footer **/
footer{
  background: #333;
  color: #888;
}
footer h4, footer td {
  color: inherit;
}
footer a, footer a:hover {
  color: inherit;
}
footer h4 {
  color: #fff;
}
footer a {
  color: #62A5D8;
}

/* CLASSES */
/** Place any CSS code in this section that relates to universal CSS classes **/
#content .container{
  background: none;
}

#taxContent h3, #glossaryContent h3, .page-tools-tax-resources #content article h3 {
  margin-top: 30px;
}

.contactForm input[type="text"], .contactForm textarea {
  width: 100%;
  padding: 4px 10px;
  border: 1px solid #b0b6bb;
  border-radius: 4px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
  font-family: Helvetica Neue, Arial, sans-serif;
  color: #394856;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
}
.contactForm label{
  font-size: 14px;
}

	.section_Boxes .delmar-3box {
		width: 100%;
	}

	.delmar-3box img {
		max-width: 100%;
		width: auto !important;
		padding: 15px !important;
		height: auto;
	}
	
	.delmar-3box h2, .delmar-3box div{
		padding-right: 15px;
		padding-left: 15px;
	}
	
	@media all and (min-width:768px){
		.section_Boxes .delmar-3box {
			width: 33.3333333%;
		}
	}
	
	@media all and (max-width:768px){
		.SideBySide .boxside {
			width: 100%;
			text-align: center;
		}
		.section_SideBySide .no-img-mask {
			width: 100%;
		}
	}

	#content .container-fluid > article {
		padding-bottom: 0;
	}


/* suggested area styles for full width content */
#suggested {
  margin: 0 -20px;
  margin-bottom: 40px;
  overflow: hidden;
}
#suggested h2 {
  padding-left: 20px;
}
#suggested .content {
  width: 33%;
  box-sizing: border-box;
  margin: 0;
  padding: 20px;
}
#suggested .content img {
  width: 100%;
  background-size: contain;
  background-repeat: no-repeat;
}

/* additional area styles */
#additional{
  background: none;
}
#additional .wrapper {
  padding: 0;
}
#additional nav {
  height: auto; 
  margin-bottom: 0;
  font-size: 0;
  border-bottom: 5px solid #333333;
}
#additional nav ul {
  margin-bottom: 0;
}
#additional nav li {
  border-left: none;
  padding: 0;
  display: inline-block;
}
#additional nav a {
  padding: 10px;
  display: block;
  color: #A6A6A6;
}
#additional nav a:hover {
  color: #FFF;
  background-color: #A6A6A6;
}
#additional nav .selected{
  background: #333333;
  color: #fff;
}
#additional nav .selected:hover{
  color: #fff;
  background: #333333;
}
#additional .matterContent {
  overflow: hidden;
  padding-top: 20px;
}
#additional .content {
  box-sizing: border-box;
  width: 50%;
  margin: 0;
  padding: 10px 20px;
}
#additional .content a:hover {
  color: #333333;
}
#additional .viewAll {
  margin: 0 0 20px 20px;
}

以上是关于css Del Mar CSS Starter的主要内容,如果未能解决你的问题,请参考以下文章

html Del Mar w / Bootstrap 3 Starter

CSS CSS Starter

CSS CSS Starter

CSS CSS Starter

CSS CSS Starter

CSS CSS Starter