Skip to content

Instantly share code, notes, and snippets.

@haris-bit
Created October 2, 2021 16:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haris-bit/0a172f4502dfc5e8878e2288f72f76ec to your computer and use it in GitHub Desktop.
Save haris-bit/0a172f4502dfc5e8878e2288f72f76ec to your computer and use it in GitHub Desktop.
not_complete_style
html, body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
overflow-x: hidden;
font-size: 16px;
}
body {
/* font-family: Helvetica;
font-size: 22px;
color: seashell; */
background-color: #000000;
/* opacity: 0.9; */
}
/* Header */
.main-header {
border-bottom: 1px solid seashell;
/* border: 3px solid rgb(74, 78, 78); */
margin: 0 auto;
height: 69px;
/* position: fixed; */
}
.main-header .sections {
/* position: absolute; */
/* color: #ffffff; */
position: relative;
float: right;
/* left: 1000px; */
top: -50px;
text-decoration: underline;
list-style: none;
}
.main-header .sections li {
display: inline;
margin-left: 5px;
margin-right: 5px;
}
.sections li a {
color: #ffffff;
}
.main-header .logo img {
width: 150px;
height: 50px;
}
.mission {
width: 100%;
margin: 0 auto;
height: 700px;
/* border: 3px solid blue; */
/* display: inline-block; */
}
.mission .top-main {
/* width: 1200px; */
width: 75%;
margin: 0 auto;
height: 350px;
overflow: hidden;
position: relative;
left: 139px;
/* border: 3px solid yellow; */
}
.mission .bottom-main {
/* width: 1200px; */
width: 75%;
height: 300px;
margin: 0 auto;
overflow: hidden;
position: relative;
text-align: center;
/* left: 60px; */
/* border: 3px solid pink; */
/* float: right; */
}
/* Image Top */
.top-slice {
width: 100%;
height: 100%;
object-fit: cover;
}
/* Image Bottom */
.bottom-slice {
width: 100%;
height: 100%;
object-fit: cover;
position: relative;
/* right: 0; */
}
.mission .bottom-main h2 {
color: #ffffff;
}
.mission .bottom-main h4 {
color: #ffffff;
}
/* Featured Tea */
.featured-tea .content {
color: #ffffff;
text-align: center;
}
.images-container {
display: flex;
justify-content: center;
flex-wrap: wrap;
max-width: 100%;
padding: 0 1%;
}
.images-container .post {
color: #ffffff;
text-align: center;
}
.images-container .post h4 {
position: relative;
top: -40px;
}
.images-container .post img {
width: 300px;
height: 200px;
margin: 26px 12px;
}
/* Locations (Without Flex Container)*/
/* .locations { */
/* padding: 0; */
/* margin: 0; */
/* border: 3px solid red; */
/* position: relative; */
/* overflow: hidden; */
/* } */
/* .bg-img { */
/* width: 1680px; */
/* height: 800px; */
/* } */
/* .locations .loc { */
/* border: 3px solid orange; */
/* display: inline-block; */
/* position: relative; */
/* top: -500px; */
/* left: 500px; */
/* background: #000000; */
/* color: #ffffff; */
/* text-align: center; */
/* font-weight: bold; */
/* padding: 25px 50px; */
/* margin: 5px; */
/* } */
/* Locations (With Flex Container) */
/* .locations { */
/* height: 500px; */
/* padding: 0; */
/* margin: 0; */
/* list-style: none; */
/* display: flex; */
/* justify-content: center; */
/* background-image: url("images/img-locations-background.webp"); */
/* background-size: 100% 100%; */
/* background-repeat: no-repeat; */
/* border: 3px solid purple; */
/* } */
/* .locations .loc { */
/* height: 500px;
width: 300px */
/* background: #000000; */
/* margin: 5px; */
/* color: #ffffff; */
/* text-align: center; */
/* flex-basis: 500px; */
/* flex-grow: 0; */
/* flex: 0 0 auto; */
/* height: auto; */
/* padding: 4px 10px; */
/* } */
.locations {
display: flex;
margin: 0 auto;
padding: 0;
list-style: none;
justify-content: center;
background-image: url("images/img-locations-background.webp");
background-size: 100% 100%;
background-repeat: no-repeat;
height: 500px;
}
.loc {
color: #fff;
background: black;
text-align: center;
height: 200px;
overflow: hidden;
position: relative;
top: 150px;
margin: 0 40px;
padding: 10px 30px;
}
.locations h2 {
text-align: center;
color: rgba(228, 212, 212, 0.829);
font-weight: bold;
/* border: 3px solid green; */
position: relative;
left: 460px;
top: 65px;
}
.contact {
color: #ffffff;
text-align: center;
display: block;
}
code {
color: #ffffff;
margin-left: 20px;
text-align: left;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment