Skip to content

Instantly share code, notes, and snippets.

@thomasorten
Created January 23, 2015 09:12
Show Gist options
  • Save thomasorten/9f824eac619cebe2f322 to your computer and use it in GitHub Desktop.
Save thomasorten/9f824eac619cebe2f322 to your computer and use it in GitHub Desktop.
main.css i gatelys-app
/* Generelle stiler */
body, html {
height: 100%;
background: #000;
}
body > div, .row, .info {
height: 100%;
}
p {
margin: 0 0 20px;
font-size: 1.3em;
line-height: 1.5em;
}
.bodyContent {
font-size: 17px;
}
.page-header {
margin-top: 0;
font-size: 45px;
line-height: 1.3em;
padding-bottom: 20px;
color: rgb(233, 233, 27);
}
/* Kart */
.row {
position: relative;
min-height: 550px;
}
.angular-google-map-container {
position: absolute !important;
height: 100%;
width: 100%;
}
.container {
background: #000;
padding-left: 0;
height: 100%;
pointer-events: none;
}
.info {
color: #fff;
margin-bottom: 0;
margin-top: 0;
padding-right: 50px;
pointer-events: auto;
display: flex;
align-items: center;
}
/* Skjema */
.btn {
padding: 10px 30px 10px 30px;
}
.alert {
margin-top: 20px;
display: none;
}
.form-control {
background: rgba(255,255,255,0.5);
color: #000;
font-size: 20px;
border: 0;
}
input[type="text"] {
padding: 25px 10px 25px 10px;
}
textarea.form-control {
padding: 12px 10px 12px 10px;
}
textarea.form-control {
min-height: 150px;
}
label {
font-size: 23px;
font-weight: normal;
color: rgb(250, 250, 187);
}
/* Media queries */
@media (max-width: 1159px) {
}
@media (max-width: 991px) {
/* Sett kart tilbake til relative på mobil. */
.angular-google-map-container {
position: relative !important;
height: 400px;
width: 100%;
}
.info {
display: block;
}
.page-header {
margin-top: 40px;
}
}
@media (max-width: 767px) {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment