Skip to content

Instantly share code, notes, and snippets.

@nelantone
Created July 14, 2016 16:19
Show Gist options
  • Select an option

  • Save nelantone/3163eaa8abcfafb36bb70d330896f4b4 to your computer and use it in GitHub Desktop.

Select an option

Save nelantone/3163eaa8abcfafb36bb70d330896f4b4 to your computer and use it in GitHub Desktop.
2.4
* { box-sizing: border-box; }
.bottom_bg {
height:100%;
width:100%;
margin:0 0 10px;
background-image: url("http://nelantone.bitballoon.com/img/albufer_bg.jpg");
background-position: 50% 70%;
background-color: black;
}
.header {
width: 210px;
height: 210px;
position: absolute;
display: inline-block;
background-color: black;
color: white;
margin: 115px 40%;
text-align: center;
opacity: 0.2;
filter: alpha(opacity=20); /* For IE8 and earlier */
}
.container {
width: 100%;
color: #000;
position: relative;
}
.image {
display: inline-block;
float: left;
}
.column { display: inline-block; }
#about-me {
clear: both;
padding-top: 50px;
}
/*Typography*/
* { font-family: Futura, Helvetica, Arial, sans-serif; }
.intro p {
font-size: 2em;
font-style: italic;
}
.cont {
margin-left: 35%;
}
.cont a:hover {
color: #FF8C00;
font-variant: bold;
text-decoration: none;
transition: color 600ms;
-webkit-transition: color 600ms;
}
.jumbotron {
background-image: url("https://assets.about.me/background/users/a/n/t/antonioserna_1411265393_7.jpg");
background-position: 50% 5%;
}
.jumbotron p {
color:#330000;
}
.nav {
background-color: black;
position: fixed;
opacity: 0.8;
filter: alpha(opacity=80); /* For IE8 and earlier */
z-index: 1;
}
.nav ul li {
background-color: black;
}
.nav ul li a {
text-transform: uppercase;
letter-spacing: 0.5em;
color: white;
}
.nav ul {
display: inline-block;
float: right;
}
.nav a:hover {
color: #0EBFE9;
text-decoration: none;
font-variant: bold;
transition: color 600ms;
-webkit-transition: color 600ms;
}
/**** About page ****/
.bg-about {
width: 100%;
height: 100%;
background-image: url("http://nelantone.bitballoon.com/img/Peters_projection3.png");
background-size: 100%;
background-color: white;
background-repeat: no-repeat;
opacity: 1;
filter: alpha(opacity=1); /* For IE8 and earlier */
}
#skill-list {
margin-left: 50px;
}
.skills.column {
width: 400px;
height: 200px;
display: inline-block;
color: #FFF;
background-color: #5AD4C2;
margin-left: 5%;
margin-top: 50px;
}
.skills.column h1 {
margin-left: 20px;
}
.title_inf {
text-align: right;
display: inline-block;
position: relative;
margin-left: 3%;
}
.description {
height: 70%;
width: 90%;
margin-left: 8%;
padding: 0 20%;
}
.projects {
height: 100%;
width: 100%;
}
.about_bg {
height:100%;
width:100%;
background-attachment: fixed;
margin:0 0 10px;
background-image: url("http://nelantone.bitballoon.com/img/bln_about_bg.jpg");
background-repeat: no-repeat;
background-position: center;
display: inline-block;
}
/**** Contact page ****/
#name { text-transform: capitalize; }
.contact a:hover {
color: black;
text-decoration: none;
font-variant: bold;
transition: color 600ms;
-webkit-transition: color 600ms;
}
.contact-square {
width: 400px;
height: 250px;
margin-left: 35%;
}
.all-content.contact {
background-attachment: fixed;
padding-top: 70px;
padding-bottom: 30%;
margin-top: 0px;
width: 100%;
height:100%;
background-color: #e9e8e5;
background-image: url("https://c2.staticflickr.com/6/5192/5899011068_65171b330b_o.jpg");
background-size: cover;
background-repeat: no-repeat;
}
#name,
#email,
.message-box {
opacity: 0.7;
filter: alpha(opacity=70); /* For IE8 and earlier */
}
.image {
margin: 20px;
}
/**** FAQ page ****/
.container.faq {
width: 100%;
}
/**** index page ****/
body {
position: relative;
background-color: #fffeea;
color: #34495e;
}
.sections {
padding-top: 50px;
/* padding-bottom: 20%*/
}
.container.index {
width: 100%;
margin: 0 auto;
color: #000;
display: block;
position: absolute;
margin-top: 200px;
background-color: white;
z-index: 1;
opacity: 0.8;
filter: alpha(opacity=80); /* For IE8 and earlier */
}
.container.title {
width: 100%;
margin: 0 auto;
color: #000;
display: block;
position: absolute;
text-align: center;
margin-top: 70px;
z-index: 1;
}
#working_on_it {
padding-top: 75px;
}
.projectName {
text-transform: uppercase;
}
.projectName a {
color: white;
}
footer{
display: block;
margin: auto;
width: 50%;
}
.form-control{
width: 70%;
}
.form-group {
display: inline-block;
position: absolute;
float: left;
}
/*****Learn more*****/
h1.learn-more {
text-align: left;
margin-left:2%;
display: inline-block;
}
.modal-button {
float: right;
padding: 15px;
}
.btn.btn-primary {
float: right;
display: inline-block;
margin-right: 30%;
margin-top: 2%;
}
#faq-section {
margin-bottom: 40px;
}
#CV-Resume {
height: 500px;
width: 100%;
padding: 5px;
}
/*****Media*****/
@media (max-width: 990px) {
.container.title {
width: 70%;
margin-right: 20%;
margin-left: 15%;
}
.navbar-nav {
margin: 0 0 0 -15px;
margin-left: 80%;
}
.all-content {
padding-top: 50px;
}
.container.contact {
margin: auto auto auto;
}
.about_bg {
background-repeat: no-repeat;
}
.container.title h1 {
margin: 0 auto;
font-size: 25px;
}
.container.index {
position: relative;
display: block;
}
.all-content.contact {
padding-top: 0px;
padding-bottom: 100%;
}
.contact-square {
background-color: white;
padding-left: 20px;
z-index: 1;
opacity: 0.7;
filter: alpha(opacity=70); /* For IE8 and earlier */
}
.form-group {
padding-left: 200px;
}
.contact-square h1{
font-size: 20px;
}
#name h3{
font-size: 15px;
}
footer{
display: block;
margin: 0;
}
}
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
* {font-size: 13px;}
h1 {font-size: 15px;}
h2 {font-size: 14px;}
h3 {font-size: 13px;}
h4 {font-size: 13px;}
h5 {font-size: 13px;}
iframe {
width: 100%;
height: 100%;
}
.navbar-toggle {
float: inherit;
margin-left: 5px;
}
.navbar-nav {
width: 100%;
margin: 0 0 0 -15px;
}
.nav {
opacity: 1;
filter: alpha(opacity=100); /* For IE8 and earlier */
}
#mosaik1,
#mosaik2,
#blog1 {
height: 90%;
width: 90%;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment