Skip to content

Commit

Permalink
Update main.css
Browse files Browse the repository at this point in the history
  • Loading branch information
IMDANIELAUSTIN committed May 16, 2024
1 parent 2406892 commit d077530
Showing 1 changed file with 97 additions and 147 deletions.
244 changes: 97 additions & 147 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -245,93 +245,56 @@ box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.64);
width: 320;
}
}
.tile
{
width: 640px;
height: 640px;
margin: 16px auto;
padding: auto;
background-color: #1e1e1e;
display: flex;
background-size: contain;
background-repeat: no-repeat;
position: relative;
cursor: pointer;
transition: all 0.168s ease-out;
box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.44);
overflow: hidden;
color: white;
font-family: 'Helvetica';
.tiles {
display: ;
color: #000000;
cursor: pointer;
margin: 0 auto;
align-content: stretch;
text-align: center;
position: relative;
justify-items: center;
align-items: center;
justify-content: center;
}

}
.tile .text
{
z-index: 104;
position:relative;
padding: auto;
height:calc(100% - 60px);
}

.tile img
{
height: inherit;
width:100%;
position:absolute;
top:0; */
left:0; */
z-index:0; */
transition: all 0.168s ease-out;
.tiles .img {
display: block;
color: #000000;
cursor: pointer;
margin: 0 auto;
align-content: middle;
text-align: center;
position: relative;
}

.tile h1
{

font-weight:300;
margin:auto;
text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.tile h2
{
font-weight:100;
margin:20px 0 0 0;
font-style:italic;
transform: translateX(200px);
}
.tile p
{
font-weight:300;
margin:20px 0 0 0;
line-height: 25px;
opacity:0;
transform: translateX(-200px);
transition-delay: 0.2s;
}
.animate-text
{
opacity:0;
transition: all 0.168s ease-in-out;
}
.tile:hover
{
background-color:transparent;
box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.64);
transform:scale(1.05);
}
.tile:hover img
{
opacity: 100;
.tiles a {
display: block;
color: #000000;
cursor: pointer;
margin: 0 auto;
align-content: middle;
text-align: center;
position: relative;
}
.tile:hover .animate-text
.tile pre
{
transform:translateX(0);
opacity:1;
}
font-weight: 300;
padding: 0;
line-height: 24px;
transform: translateX(-200px);
transition-delay: 0.168s;
vertical-align: middle;
}

.tile:hover span
{
opacity:1;
transform:translateY(0px);
}
.youtube-video {
aspect-ratio: 16 / 9;
width: 100%;
align-content: middle;

}

.video-container {
position: relative;
Expand All @@ -351,6 +314,25 @@ height: 100%;
align-content: middle;
}

.tiles .img {
display: block;
color: #000000;
cursor: pointer;
margin: 0 auto;
align-content: middle;
text-align: center;
position: relative;
}

.tiles a {
display: block;
color: #000000;
cursor: pointer;
margin: 0 auto;
align-content: middle;
text-align: center;
position: relative;
}

h1 , h2 , ul, ol, li, head {
color: #ffffff;
Expand Down Expand Up @@ -594,11 +576,12 @@ background-color 0.3s;
text-align: center;
position: relative;
}

.tile
{
width: 640px;
height: 640px;
margin: 16px auto;
margin: auto;
padding: auto;
background-color: #1e1e1e;
display: flex;
Expand Down Expand Up @@ -681,7 +664,6 @@ box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.64);
opacity:1;
transform:translateY(0px);
}

h1 , h2 , ul, ol, li, head {
color: #ffffff;
font-weight: bold;
Expand Down Expand Up @@ -940,7 +922,7 @@ background-color 0.3s;
{
width: 640px;
height: 640px;
margin: 16px auto;
margin: auto;
padding: auto;
background-color: #1e1e1e;
display: flex;
Expand Down Expand Up @@ -1278,12 +1260,12 @@ pre {
}
.tile
{
width: 480px;
height: 480px;
margin: auto;
padding: auto;
width: 320;
height: 320;
margin: 16px auto;
padding:auto;
background-color: #1e1e1e;
display: flex;
display: grid;
background-size: contain;
background-repeat: no-repeat;
position: relative;
Expand All @@ -1293,76 +1275,44 @@ pre {
overflow: hidden;
color: white;
font-family: 'Helvetica';

}
.tile .text
{
z-index: 104;
position:relative;
padding: auto;
position:absolute;
padding: 32px;
height:calc(100% - 60px);
line-height:24px;
}

.tile img
{
height: inherit;
width:100%;
position:absolute;
top:0; */
left:0; */
z-index:0; */
transition: all 0.168s ease-out;
.tiles .img {
display: block;
color: #000000;
cursor: pointer;
margin: 0 auto;
align-content: middle;
text-align: center;
position: relative;
}

.tile h1
{

font-weight:300;
margin:auto;
text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}
.tile h2
{
font-weight:100;
margin:20px 0 0 0;
font-style:italic;
transform: translateX(200px);
}
.tile p
{
font-weight:300;
margin:20px 0 0 0;
line-height: 25px;
opacity:0;
transform: translateX(-200px);
transition-delay: 0.2s;
}
.animate-text
{
opacity:0;
transition: all 0.168s ease-in-out;
}
.tile:hover
{
background-color:transparent;
box-shadow: 0px 35px 77px -17px rgba(0,0,0,0.64);
transform:scale(1.05);
}
.tile:hover img
{
opacity: 100;
}
.tile:hover .animate-text
{
transform:translateX(0);
opacity:1;
.tiles a {
display: block;
color: #000000;
cursor: pointer;
margin: 0 auto;
align-content: middle;
text-align: center;
position: relative;
}

.tile:hover span
.tile pre
{
opacity:1;
transform:translateY(0px);
}
font-weight: 300;
padding: 0;
line-height: 24px;
transform: translateX(-200px);
transition-delay: 0.168s;
vertical-align: middle;
}
h1 , h2 , ul, ol, li, head {
color: #ffffff;
font-weight: bold;
Expand Down Expand Up @@ -1819,7 +1769,7 @@ footer a{
color: #000000;
text-align: center;
padding: 8px;
font-weight: bold; */
/* font-weight: bold; */
font-size: 16pt;
}

Expand Down

0 comments on commit d077530

Please sign in to comment.