Sam-s-Mart-Website/styles/style.css

79 lines
1.3 KiB
CSS
Raw Normal View History

2021-02-04 22:23:04 +00:00
/* This style sheet is taken from https://www.w3schools.com/howto/howto_js_tabs.asp> */
/* Style the tab */
.tab {
overflow: hidden;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
/* Style the buttons that are used to open the tab content */
.tab button {
background-color: inherit;
float: left;
border: none;
outline: none;
cursor: pointer;
padding: 14px 16px;
transition: 0.3s;
}
/* Change background color of buttons on hover */
.tab button:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
.tab button.active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
2021-02-05 00:41:09 +00:00
background-color: rgb(222, 224, 228);
}
/* title/header */
h1{
font-family: "Britannic Bold ", sans-serif;
font-weight: bolder;
font-size: 40px;
color: #f7fcfc;
vertical-align: middle;
display: inline;
margin-right: 15px;
}
/*footer with signatures */
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: rgb(87, 139, 216);
color: rgb(255, 255, 255);
text-align: center;
}
.logo{
2021-02-05 00:45:57 +00:00
width: 5%;
2021-02-05 00:41:09 +00:00
height:auto;
vertical-align: middle;
margin-bottom: 10px;
}
body {
background-color: #66BFBF;
background-image: url("images/bg3.jpg");
}