style.css
-
/*This is the styling part using the CSS for the “website.html”. External CSS is used for this web page.*/
@import url(‘https://fonts.googleapis.com/css?family=Leckerli+One’);
@import url(‘https://fonts.googleapis.com/css?family=Acme’);
@import url(‘https://fonts.googleapis.com/css?family=Cabin+Sketch|IM+Fell+French+Canon+SC’);*{
margin:0px;
padding:0px;
}* {box-sizing: border-box;}
body {font-family: Verdana, sans-serif;}
.bg_img{
background-color: brown;
width: 100%;
height:100%;
}.menu{
width: 100%;
height:80px;
background-color: rgba(0,0,0,0.5);}
.leftmenu{
width:25%;
line-height: 100px;
float: left;
}.leftmenu h4{
padding-left: 50px;
font-weight: bold;
color: white;
font-size: 40px;
font-family: ‘Leckerli One’, cursive;}
.RightMenu {
width: 70%;
height: 100px;
float: right;}
.RightMenu ul{
margin-left: 200px;}
.RightMenu ul li{
font-family: ‘Montserrat’, sans-serif;
display: inline-block;
list-style: none;
font-family: 15px;
color: white;
font-weight: bold;
line-height: 100px;
margin-left: 40px;
text-transform: uppercase;
}.RightMenu ul li a{
color: white;
text-decoration: none;
}#firstlist{
color: orange;
}.RightMenu ul li:hover{
color: orange;
}.RightMenu ul li a:hover{
color: orange;
}.mySlides {display: none;}
img {
margin-left:150px;
width:70%;
height:80vh;
background-size: 100% 100%;
}/* Slideshow container */
.slideshow-container {
height:100%;
}h1{
text-align:center;
font-size:40px;
color: white;
font-family:’IM Fell French Canon SC’, serif;
}/* Caption text */
.text {
color: #f2f2f2;
font-size: 15px;
padding: 8px 12px;
position: absolute;
bottom: 8px;
width: 100%;
text-align: center;
}/* Number text (1/3 etc) */
.numbertext {
color: #f2f2f2;
font-size: 12px;
padding: 8px 12px;
top: 0;
}/* The dots/bullets/indicators */
.dot {
height: 15px;
width: 15px;
margin: 0 2px;
background-color: #bbb;
border-radius: 50%;
display: inline-block;
transition: background-color 0.6s ease;
}.active {
background-color: #717171;
}/* Fading animation */
.fade {
-webkit-animation-name: fade;
-webkit-animation-duration: 1.5s;
animation-name: fade;
animation-duration: 1.5s;
}@-webkit-keyframes fade {
from {opacity: .4}
to {opacity: 1}
}@keyframes fade {
from {opacity: .4}
to {opacity: 1}
}/* On smaller screens, decrease text size */
@media only screen and (max-width: 300px) {
.text {font-size: 11px}
}.Paragraph{
width: 100%;
text-transform: uppercase;
text-align: center;
color: red;
margin-top: 185px;
}.Paragraph h1{
margin-left: 350px;
font: 70px “Showcard Gothic”, sans-serif;
}.Paragraph h4{
font-size: 15px;
font-family: ‘Montserrat’, sans-serif;
}.Paragraph h2{
font-size:62px;
font-family: ‘Montserrat’, sans-serif;
font-weight: bold;
margin: 14px 0px;}
#button1 {
background-color: white;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
line-height: 20px;
width: 150px;
font-family: ‘Montserrat’, sans-serif;
margin-top: 25px;
border: 3px solid black;
}#button2 {
background-image: url(‘download.jpeg’);
background-size: 100% 100%;
background-color:rgba(0,0,0,0.5); border: none;
font-size: 12px;
font-weight: bold;
text-transform: uppercase;
line-height: 20px;
width: 150px;
border: 3px solid white;
font-family: ‘Montserrat’, sans-serif;
margin-top: 25px;
}.icons {
border: 1px solid black;
}.Footer {
/*This is the style for the footer of the “website.html”.*/
margin-top:00px;
font-family: ‘Acme’, sans-serif;
background-color:rgba(0,0,0,0.7);
list-style: none;
font-size: 20px;
text-align: center;
font-weight: bold;
text-transform: uppercase;
}.fa {
padding: 20px;
font-size: 20px;
width: 150px;
height: 10px;
opacity:0.6;
text-align: center;
text-decoration: none;
}/* Add a hover effect if you want */
.fa:hover {
opacity: 1;
}/*It is for the icon of Facebook used in the html page.*/
.fa-facebook {
width:50px;
height:50px;
background: blue;
border: 2px;
color: white;
}.fa-twitter {
width:50px;
height:50px;
background: blue;
border: 2px;
color: white;
}.fa-google {
width:50px;
height:50px;
background: red;
border: 2px;
color: white;
}The blog I need help with is: (visible only to logged in users)
-
Did you need help with this? Can you send a link to your site, and tell us more about what you’re trying to do? We’ll try to point you in the right direction.
- The topic ‘style.css’ is closed to new replies.