Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- body {
- /* Old browsers */
- background: #141E30;
- /* Chrome 10-25, Safari 5.1-6 */
- background: -webkit-linear-gradient(-45deg, #35577D, #141E30);
- /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
- background: linear-gradient(-45deg, #35577D, #141E30);
- margin: 0;
- padding: 0;
- }
- h1 {
- color: #FFF;
- text-align: center;
- font-size: 2em;
- font-family: Georgia;
- padding-top: 100px;
- width: 100%;
- }
- h2 {
- border-bottom: 1px solid rgba(255, 255, 255, 0.5);
- color: rgba(255, 255, 255, 0.5);
- font-weight: 100;
- font-size: 22px;
- font-family: Georgia;
- line-height: 24px;
- padding-bottom: 30px;
- text-align: left;
- width: 70%;
- }
- p {
- color: AliceBlue;
- line-height: 1.3em;
- font-family: Helvetica;
- font-size: 18px;
- font-weight: bold;
- text-align: left;
- width: 100%;
- }
- .byline {
- font-family: Helvetica;
- color: rgba(255, 255, 255, 0.5);
- float: left;
- font-size: 14px;
- padding-left: 10px;
- text-transform: uppercase;
- }
- .caption {
- display: block;
- font-family: 'Playfair Display', serif;
- font-size: 14px;
- font-style: italic;
- opacity: 0.5;
- line-height: 14px;
- margin-left: 20px;
- padding: 10px;
- position: relative;
- top: 80%;
- width: 60%;
- color: black;
- background-color: white;
- }
- .content {
- padding: 40px;
- }
- .image {
- background-image: url("https://s3.amazonaws.com/codecademy-content/courses/freelance-1/unit-2/soccer.jpeg");
- background-size: cover;
- background-position: center;
- height: 300px;
- }
- .writer-img {
- -webkit-box-shadow: 5px 0px 5px 0px rgba(0, 0, 50, 0.97);
- -moz-box-shadow: 5px 0px 5px 0px rgba(0, 0, 50, 0.97);
- box-shadow: 5px 0px 5px 0px rgba(0, 0, 50, 0.97);
- float: left;
- width: 50px;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement