Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*Main website layout: the box model*/
- html {
- font-family: Gravity, "Open Sans";
- background-color: #8E9DCC;
- }
- /*page layout for the entire website*/
- .box {
- width: 1100px;
- margin: 0 auto;
- padding: 0 20px 20px 20px;
- }
- /*navigation bar*/
- nav {
- font-family: 'Lemon Milk';
- font-size: 20px;
- clear:both;
- overflow: hidden;
- background-color: #7D84B2;
- }
- nav ul {
- list-style-type: none;
- }
- nav ul li {
- float: left;
- margin-right: 1em;
- }
- nav ul li a {
- padding: 0.25em 1em 1em;
- text-decoration: none;
- color: #121212;
- text-align: center;
- display: block;
- }
- nav ul li a:hover, nav ul li a:focus {
- color: #061826;
- background-color: #CFCFEA;
- font-weight: bold;
- }
- #search {
- float: right;
- width: 110px;
- }
- h1 {
- font-family: Vogue;
- }
- .header_center {
- text-align: center;
- font-size: 45px;
- }
- /*index content style*/
- .about {
- font-family: Gravity;
- }
- #paragraph1 {
- font-size: 35px;
- padding: 50px;
- }
- #paragraph2 {
- font-size: 35px;
- padding: 50px 25px;
- }
- #paragraph3 {
- font-size: 35px;
- padding: 20px;
- }
- #img1 {
- float:right;
- padding: 10px;
- }
- #img2 {
- float:left;
- padding: 10px;
- }
- #img3, #img4, #img5 {
- float:right;
- padding: 10px;
- }
- /*Registration form*/
- #register {
- width: 400px;
- height: 655px;
- margin: auto;
- }
- /*Post form*/
- #postfrm {
- width: 400px;
- height: 329px;
- }
- /*Contact form*/
- #contact {
- width: 400px;
- height: 265px;
- }
- #contact_para {
- float: right;
- margin-left: 250px;
- margin-right: 150px;
- }
- /*style for all forms*/
- form {
- padding: 10px;
- font-family: 'Century Gothic';
- background-color: #D4C5E2;
- }
- input[type=text], input[type=email], input[type=password], input[type=number], input[type='tel'] {
- width: 250px;
- padding: 12px 20px;
- margin: 8px 0;
- box-sizing: border-box;
- border: 1px solid black;
- border-radius: 25px;
- }
- input[type=submit] {
- width: 100px;
- height: 35px;
- clear: both;
- border: none;
- border-radius: 25px;
- padding: 5px 5px;
- background-color: white;
- }
- .form_para {
- text-align: center;
- color: black;
- font-size: 15px;
- margin-top: 40px;
- padding: 15px;
- }
- #reg_sign {
- text-align: center;
- }
- /*gallery*/
- /*Base code for image gallery
- W3Schools. (n.d.). CSS Image Gallery. CSS image gallery. https://www.w3schools.com/css/css_image_gallery.asp . Retrieved 21st Oct. 2023.*/
- /*CSS box shadow code:
- W3Schools. (n.d.). CSS box shadow. https://www.w3schools.com/css/css3_shadows_box.asp . Retrieved 22nd Oct. 2023.*/
- div.gallery {
- margin: 5px;
- float: left;
- width: 500px;
- padding: 10px;
- background-color: #8E9DCC;
- box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
- }
- div.caption {
- padding: 5px;
- text-align: center;
- }
- div.author {
- float: left;
- font-family: 'Franklin Gothic Book';
- }
- div.date {
- float: right;
- font-family: 'Courier New';
- }
- /*footer*/
- .footer {
- padding: 10px;
- font-family: "Franklin Gothic Book";
- clear: both;
- text-align: center;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement