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

126 lines
1.7 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);
2021-02-11 01:22:59 +00:00
2021-02-05 00:41:09 +00:00
}
2021-02-11 01:22:59 +00:00
.tablinks {
font-size: 20px;
}
2021-02-05 00:41:09 +00:00
/* title/header */
h1{
font-family: "Britannic Bold ", sans-serif;
font-weight: bolder;
2021-02-11 01:22:59 +00:00
font-size: 50px;
2021-02-05 00:41:09 +00:00
color: #f7fcfc;
vertical-align: middle;
display: inline;
2021-02-11 01:22:59 +00:00
/* margin-right: 15px; */
2021-02-05 00:41:09 +00:00
}
/*footer with signatures */
2021-02-11 01:22:59 +00:00
.footer {
2021-02-05 00:41:09 +00:00
bottom: 0;
2021-02-11 01:22:59 +00:00
left: a;
2021-02-05 00:41:09 +00:00
width: 100%;
2021-02-11 01:22:59 +00:00
color: rgb(0, 0, 0);
2021-02-05 00:41:09 +00:00
text-align: center;
2021-02-11 01:22:59 +00:00
}
.copyright{
font-size: 15px;
2021-02-05 00:41:09 +00:00
}
.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 {
2021-02-11 01:22:59 +00:00
margin: 0px;
2021-02-05 00:41:09 +00:00
background-color: #66BFBF;
background-image: url("images/bg3.jpg");
2021-02-11 01:22:59 +00:00
text-align: center;
font-size : 20px;
}
img{
width: 30%;
padding: 3% 7%;
}
.company-name {
text-align: left;
}
.cart-img {
height: 5%;
width: 5%;
padding: 0;
padding-left: 15px;
margin-top: 20px;
/*
position: relative;
top: 40px;
*/
}
h3 {
font-size: 30px;
}
p {
font-size: 25px;
}
i {
font-size: 15px;
}
2021-02-05 00:41:09 +00:00
2021-02-11 01:22:59 +00:00
.block {
font-size: 15px;
2021-02-05 00:41:09 +00:00
}
2021-02-11 01:22:59 +00:00
.sumo{
font-size: 15px;
}