Anonymous Anonymous - 3 months ago
186 0

No description

CSS

Designer 1 HTML Template

Embed
body {
        margin: 0;
}
.header {
  padding: 10px 20px;
}
.header h1 {

}
.nav {

}
.nav a {
	color: #000;
	text-decoration: none;
}
.content {
	font-size: 0;
}
.box {
  box-sizing: border-box;
	/*height: 200px;*/
  padding: 10px 20px;
	font-size: 16px;
}

.footer {
  padding: 10px 20px;
}

.copyright {
  text-align: center;
}

/* MOBILE */
@media (max-width: 699px) {

  h1 {
    text-align: center;
  }

  .nav {
    /* Minus Margin für Null abstand zum Rand */
    /* Header(padding: 10px 20px) - 20px */
    margin-right: -20px;
    margin-left: -20px;
  }

	.nav a {
		display: block;

		padding: 10px;
		margin: 10px 0;

		background: #000;
		color: #fff;

		font-weight: bold;
		text-align: center;
		text-transform: uppercase;
	}

	.box {
		margin: 0 0 10px 0;
	}

  .footer {
    text-align: right;
  }

  .footer-nav {
    display: none;
  }

}

/* TABLET */
@media (min-width: 700px) {

  .header {
    margin: 0 0 20px 0;
    font-size: 0;
  }
  h1 {
    display: inline-block;
    width: 50%;
    font-size: 32px;
  }
  .nav {

  }

  .nav a {
    padding: 0px 28px 0px 0;
    border-right: 1px solid #000;
    margin-right: 25px;
    font-size: 18px;
  }

  .nav a:last-child {
    padding: 0;
    border: 0;
    margin: 0;
  }

  .header-nav {
    display: inline-block;
    width: 50%;
    text-align: right;
    vertical-align: baseline;
  }

  .box1,
  .box2 {
         display: inline-block;
         width: 50%;
         vertical-align: top;
	}

  .back-to-top {
    display: none;
  }
}
/* DESKTOP */
@media (min-width: 900px) {
	.box {
          display: inline-block;
          width: 33.333%;
        }
}
Comments