css eflex 20180601的简单CSS

Posted

tags:

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

/*
 * COLOR
 */
:root {
  --brand-red: #972028;
}

/*
 * TYPOGRAPHY TWEAKS
 */

/* TYPOGRAPHY */

/* typographic scale major third 8.192 (0.512em), 10.24 (0.64em), 12.8 (0.8em), 16 (1em), 20 1.25em), 25 (1.563em), 31.25 (1.953em), 39.063 (2.441em)  */
:root {
  --step-up-5: 2em;
  --step-up-4: 1.7511em;
  --step-up-3: 1.5157em;
  --step-up-2: 1.3195em;
  --step-up-1: 1.1487em;
  /* baseline: 1em */
  --step-down-1: 0.8706em;
  --step-down-2: 0.7579em;
  --step-down-3: 0.6599em;
  --step-down-4: 0.5745em;
  --step-down-5: 0.5em;
}

/* font base size */
html {
	font-size: 16px;
}
@media (min-width: 768px) { 
	html {
		font-size: 17px;
	}
}
@media (min-width: 992px) { 
	html {
		font-size: 18px;
	}
}
@media (min-width: 1200px) { 
	/*html {
		font-size: 20px;
	}*/
}

h1, h2, h3, h4, h5, h6 {
	color: var(--brand-red);
}
h1 {
	font-size: var(--step-up-5);
}
h2{
	font-size: var(--step-up-4);
}
h3 {
	font-size: var(--step-up-3);
}
h4 {
	font-size: var(--step-up-2);
}
h5 {
	font-size: var(--step-up-1);
}
h6 {
	font-size: 1em;
}

p {
	font-size: 1em;
}

/* page content typography tweaks */
.type-page h2{
	margin-top: 1em !important;
}
.type-page h3 {
	margin-top: 1.5em !important;
}
.type-page li {
  margin-bottom: 0.75em;
}



/*
 * Main Nav
 */

/* hover fx */
#primary-menu a {
    border: 2px solid transparent;
  border-radius: 500px;
  -o-transition:.6s;
  -ms-transition:.6s;
  -moz-transition:.6s;
  -webkit-transition: .6s;
  transition:.6s;
}

#primary-menu a:hover {
    border: 2px solid #67C6C0;
}


/*
 * CTA
 */
.section-cta {
    background-size: cover;
  background-position: center;
}
.section-cta p {
  font-size: 1.55rem;
}


/*
 * FOOTER
 */

footer a {
    text-decoration: none;
    color: #fff;
}
footer a:hover {
    text-decoration: none;
    color: #63D3C9;
}

/*
 * SECTION :: APP :: EFLEX
 */
.gx-form {
	max-width: 80%;
}
.icon-app-container {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin: 20px 0 30px;
}
.icon-app-eflex {
	width: 40%;
}
.section-app-eflex p {
	color: #a7212a;
	font-weight: 700;
	text-align: center;
}
.section-app-eflex p:first-of-type {
	font-size: 1.5rem;
	line-height: 1.4;
}
.section-app-eflex p:nth-child(2) {
	font-size: 1.1rem;
}
.store-badges div[class*="col"] {
	display: flex;
	justify-content: center;
	padding: 0 0 20px;
}
.store-badges div[class*="col"] a {
	display: flex;
	justify-content: center;
	width: 100%;
}
.badge-appstore {
	width: 60%;
}
.badge-googleplay {
	width: 60%;
}

@media (min-width: 768px) {
	.icon-app-container {
		justify-content: flex-start;
		align-items: flex-start;
		margin: 0;
	}
	.icon-app-eflex {
		width: 100%;
	}
	.section-app-eflex p {
		color: #a7212a;
		font-weight: 700;
		text-align: center;
	}
	.section-app-eflex p:first-of-type {
		font-size: 1.5rem;
		line-height: 1.4;
	}
	.section-app-eflex p:nth-child(2) {
		font-size: 1.1rem;
	}
	.store-badges div[class*="col"] {
		display: flex;
		justify-content: center;
		padding: 0 0 20px;
	}
	.store-badges div[class*="col"] a {
		display: flex;
		justify-content: center;
		width: 100%;
	}
	.badge-appstore {
		width: 73%;
	}
	.badge-googleplay {
		width: 80%;
	}
}


/* Page Content */
.ec-cont {
  display: flex;
  justify-content: center;
}
.entry-content {
  max-width: 750px;
}

.entry-header {
  background-image: url("http://adwhitetesting4.info/wp-content/themes/eflex/img/splash-image-mobile-eflex.png");
    background-size: cover;
    background-position: center;
    background-repeat: none;
  min-height: 100px;
  border-top: 5px solid #972028;
}

@media (min-width: 768px) {
    .entry-header {
      background-image: url("http://adwhitetesting4.info/wp-content/themes/eflex/img/splash-image-med-eflex.png");
      min-height: 140px;
    }
}

@media (min-width: 1200px) {
    .entry-header {
      background-image: url("http://adwhitetesting4.info/wp-content/themes/eflex/img/splash-image-hd-eflex.png");
    }
}

.title-cont {
  height: 100%;
}

.entry-header h1 {
  color: #fff;
  margin-bottom: 0;
}

.content-area .container-fluid {
  padding: 0;
}

.page-template .site-content {
  padding-top: 0.75em !important;
}

.content-area .entry-header .container {
  display: flex;
  align-items: center;
  min-height: 140px;
}

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

css Eflex-20180530的简单CSS

20180601早课记录23-Hadoop

20180601 链接地址

20180601早课记录23-Hadoop

26期20180601目录管理

20180601_Eclipse自动生成mybatis映射文件