Created
July 5, 2016 18:48
-
-
Save nelantone/58a38094211f61336af34ceb461c3645 to your computer and use it in GitHub Desktop.
Style CSS, Task 1.8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* { 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; | |
} | |
/*Typography*/ | |
* { font-family: Futura, Helvetica, Arial, sans-serif; } | |
.intro p { | |
font-size: 2em; | |
font-style: italic; | |
} | |
body { | |
background-color: #fffeea; | |
color: #34495e; | |
} | |
.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 */ | |
z-index: 1; | |
} | |
.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; | |
} | |
.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; | |
} | |
/**** About page ****/ | |
#skill-list { | |
margin-left: 50px; | |
} | |
.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%; | |
} | |
.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; | |
} | |
body.about { background-color: black; } | |
.container.about { | |
background-color: white; | |
} | |
/**** Contact page ****/ | |
#name { text-transform: capitalize; } | |
body.contact { | |
background-color: #e9e8e5; | |
background-image: url("https://c2.staticflickr.com/6/5192/5899011068_65171b330b_o.jpg"); | |
background-size: 100%; | |
background-repeat: no-repeat; | |
} | |
.contact a:hover { | |
color: black; | |
text-decoration: none; | |
font-variant: bold; | |
transition: color 600ms; | |
-webkit-transition: color 600ms; | |
} | |
.container.contact { | |
margin: 35px auto auto; | |
} | |
.contact-square { | |
width: 400px; | |
height: 250px; | |
margin-left: 35%; | |
} | |
/**** FAQ page ****/ | |
.container.faq { | |
width: 80%; | |
} | |
/**** index page ****/ | |
.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; | |
} | |
.carousel-example-generic { | |
margin-top: 200px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment