MariePeras (Talk | contribs) |
MariePeras (Talk | contribs) |
||
Line 30: | Line 30: | ||
+ | *{padding: 0; margin: 0; box-sizing: border-box;} | ||
+ | body{height: 900px;} | ||
+ | section { | ||
+ | background: url('https://static.igem.org/mediawiki/2018/1/16/T--Montpellier--rondpeptides_mtp.png'); | ||
+ | text-align: center; | ||
+ | width: 100% important!; | ||
+ | height: auto; | ||
+ | background-size: cover; | ||
+ | background-attachment: fixed; | ||
+ | position: relative; | ||
+ | overflow: hidden; | ||
+ | border-radius: 0 0 85% 85% / 30%; | ||
+ | } | ||
+ | section .overlay{ | ||
+ | width: 100%; | ||
+ | height: 100%; | ||
+ | padding: 50px; | ||
+ | color: #FFF; | ||
+ | text-shadow: 1px 1px 1px #333; | ||
+ | background-image: linear-gradient( 135deg, #9f05ff69 10%, #fd5e086b 100%); | ||
+ | |||
+ | } | ||
+ | h1 { | ||
+ | font-family: 'Dancing Script', cursive; | ||
+ | font-size: 80px; | ||
+ | margin-bottom: 30px; | ||
+ | } | ||
+ | |||
+ | h3, p { | ||
+ | font-family: 'Open Sans', sans-serif; | ||
+ | margin-bottom: 30px; | ||
+ | } | ||
+ | |||
+ | button { | ||
+ | border: none; | ||
+ | outline: none; | ||
+ | padding: 10px 20px; | ||
+ | border-radius: 50px; | ||
+ | color: #333; | ||
+ | background: #fff; | ||
+ | margin-bottom: 50px; | ||
+ | box-shadow: 0 3px 20px 0 #0000003b; | ||
+ | } | ||
+ | button:hover{ | ||
+ | cursor: pointer; | ||
+ | } | ||
Line 39: | Line 85: | ||
</head> | </head> | ||
− | + | <section> | |
+ | <div class="overlay"> | ||
+ | <h1>Simply The Best</h1> | ||
+ | <h3>Reasons for Choosing US</h3> | ||
+ | <p>Lorem, ipsum dolor sit amet consectetur adipisicing elit. Vero nostrum quis, odio veniam itaque ullam debitis qui magnam consequatur ab. Vero nostrum quis, odio veniam itaque ullam debitis qui magnam consequatur ab.</p> | ||
+ | <br> | ||
+ | <button>READ MORE</button> | ||
+ | </div> | ||
+ | </section> | ||
<body> | <body> |
Revision as of 20:18, 10 October 2018