Skip to content

Instantly share code, notes, and snippets.

@nelantone
Last active July 4, 2016 23:25
Show Gist options
  • Save nelantone/b94f7714b086f8f723d6e93c4713c21e to your computer and use it in GitHub Desktop.
Save nelantone/b94f7714b086f8f723d6e93c4713c21e to your computer and use it in GitHub Desktop.
Task 1.4, about_styles
* { box-sizing: border-box; }
.bottom_bg {
height:100%;
width:100%;
min-height:500px;
margin:0 0 10px;
background-image: url("https://assets.about.me/background/users/a/n/t/antonioserna_1411265393_7.jpg");
background-position: 50% 70%;
background-color: black;
}
.header {
width: 200px;
height: 200px;
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: 90%;
margin: 0 auto;
color: #000;
}
.image {
display: inline-block;
float: left;
}
.column { display: inline-block; }
.main-text {
clear: both;
padding-top: 60px;
}
.skills.column {
width: 250px;
height: 250px;
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: 70%;
width: 70%;
}
/*Typography*/
* { font-family: Futura, Helvetica, Arial, sans-serif; }
.intro p {
font-size: 2em;
font-style: italic;
}
#skill-list {
margin-left: 50px;
}
body {
background-color: #fffeea;
color: #34495e;
}
.container.contact {
width: 75%;
height:75%;
background-image: url("https://c5.staticflickr.com/6/5192/5899011068_67d4ae4dcf_b.jpg");
background-position: 50% 50%;
margin: 35px auto auto;
min-height:600px;
}
.contact-square {
width: 400px;
height: 250px;
margin-left: 35%;
}
#name { text-transform: capitalize; }
body.contact {
background-color: #e9e8e5;
}
.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;
}
[href="contact.html"] { color: #000; }
.nav {
background-color: black;
position: fixed;
display: block;
width: 100%;
padding: 20px 10px 20px;
opacity: 0.8;
filter: alpha(opacity=80); /* For IE8 and earlier */
}
.nav ul li {
display: inline-block;
background-color: black;
}
.nav ul li a {
text-transform: uppercase;
letter-spacing: 0.5em;
color: white;
top: 0;
}
.nav ul {
display: inline-block;
float: right;
}
.about_bg {
height:100%;
width:100%;
min-height:425px;
margin:0 0 10px;
background-image: url("https://c2.staticflickr.com/8/7306/27800115020_16df094701_o.jpg");
background-repeat: round;
background-position: left;
background-color: #FAF0E6;
display: inline-block;
}
.nav [href="index.html"],
.nav [href="/"]
/*"/" to make work index css on bitballoon*/
{
margin-left: 2%;
text-transform: uppercase;
padding: 30px 10px 20px;
letter-spacing: 0.5em;
color: white;
top: 0;
}
.nav a:hover {
color: #0EBFE9;
text-decoration: none;
font-variant: bold;
transition: color 600ms;
-webkit-transition: color 600ms;
}
body.about { background-color: black; }
.container.about {
background-color: white;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment