Added egypt
This commit is contained in:
166
egypt/History.css
Normal file
166
egypt/History.css
Normal file
@@ -0,0 +1,166 @@
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-family: 'Roboto', sans-serif;
|
||||
}
|
||||
|
||||
html{
|
||||
background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(background.jpg) no-repeat center center fixed;
|
||||
}
|
||||
|
||||
.container{
|
||||
width: 100%;
|
||||
height: auto;
|
||||
padding-left: 8%;
|
||||
padding-right: 8%;
|
||||
box-sizing: border-box;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.navbar{
|
||||
height: 12%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.logo{
|
||||
width: 50px;
|
||||
cursor: pointer;
|
||||
color: white;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.navbar i{
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
margin-left: 40px;
|
||||
}
|
||||
|
||||
nav{
|
||||
flex: 1;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
nav ul li{
|
||||
list-style: none;
|
||||
display: inline-block;
|
||||
margin-left: 60px;
|
||||
color: white;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
/* Information boxes */
|
||||
|
||||
.wrapper{
|
||||
display: grid;
|
||||
margin: 200px 90px auto;
|
||||
grid-gap: 20px;
|
||||
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
|
||||
}
|
||||
@media (max-width: 700px) {
|
||||
.wrapper{
|
||||
margin: 200px auto;
|
||||
}
|
||||
}
|
||||
.wrapper .box{
|
||||
width: 350px;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
perspective: 1000px;
|
||||
border: #000000;
|
||||
border-radius: 2px;
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
-ms-border-radius: 2px;
|
||||
-o-border-radius: 2px;
|
||||
padding-bottom: 75px;
|
||||
padding-right: 75px;
|
||||
}
|
||||
.wrapper .box .front-face{
|
||||
background: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(background.jpg);
|
||||
background-size: cover;
|
||||
height: 220px;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
border-radius: 2px;
|
||||
border-color: #000000;
|
||||
box-shadow: 0px 5px 20px 0px rgba(0, 81, 250, 0.1);
|
||||
transition: all 0.5s ease;
|
||||
-webkit-border-radius: 2px;
|
||||
-moz-border-radius: 2px;
|
||||
-ms-border-radius: 2px;
|
||||
-o-border-radius: 2px;
|
||||
}
|
||||
|
||||
.box .front-face span,
|
||||
.box .back-face span{
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.box .front-face span{
|
||||
background: linear-gradient(-135deg, #000000, #000000);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
|
||||
.box .back-face{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1;
|
||||
height: 220px;
|
||||
width: 100%;
|
||||
padding: 30px;
|
||||
color: #fff;
|
||||
opacity: 0;
|
||||
transform-style: preserve-3d;
|
||||
backface-visibility: hidden;
|
||||
background: linear-gradient(-135deg, #000000, #000000);
|
||||
transform: translateY(110px) rotateX(-90deg);
|
||||
box-shadow: 0px 5px 20px 0px rgba(0, 81, 250, 0.1);
|
||||
transition: all 0.5s ease;
|
||||
}
|
||||
|
||||
.box .back-face p{
|
||||
margin-top: 10px;
|
||||
text-align: justify;
|
||||
}
|
||||
|
||||
.box:hover .back-face{
|
||||
opacity: 1;
|
||||
transform: rotateX(0deg);
|
||||
}
|
||||
|
||||
.box:hover .front-face{
|
||||
opacity: 0;
|
||||
transform: translateY(-110px) rotateX(90deg);
|
||||
}
|
||||
|
||||
/*Boxes Backgrounds*/
|
||||
|
||||
.box .front-face.face1{
|
||||
background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url(info-box1.jpg);
|
||||
}
|
||||
|
||||
.box .front-face.face2{
|
||||
background-image:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url(info-box2.jpg);
|
||||
}
|
||||
|
||||
.box .front-face.face3{
|
||||
background-image:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url(info-box3.jpg);
|
||||
}
|
||||
|
||||
.box .front-face.face4{
|
||||
background-image:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url(info-box4.jpg);
|
||||
}
|
||||
|
||||
.box .front-face.face5{
|
||||
background-image:linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)), url(flag.jpg);
|
||||
}
|
||||
Reference in New Issue
Block a user