Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
@import url('https://fonts.googleapis.com/css?family=Dosis|Indie+Flower|Roboto&display=swap');

html{
html
{
background-image: url(images/github-backdrop.png);
background-color: rgba(0, 0, 0, 0.2);
background-size: 200px;
}

.container {
.container
{
position: relative;
margin-right: auto;
margin-left: auto;
Expand All @@ -16,13 +18,15 @@ html{
box-shadow:0 6px 20px 0 rgba(0, 0, 0, 0.8), 0 10px 25px 0 rgba(0, 0, 0, 0.7);
}

.image {
.image
{
display: block;
width: 500px;
height: 500px;
}

.overlay {
.overlay
{
position: absolute;
top: 0;
bottom: 0;
Expand All @@ -35,11 +39,13 @@ html{
background-color: #008CBA;
}

.container:hover .overlay {
.container:hover .overlay
{
opacity: 1;
}

.text {
.text
{
color: white;
font-size: 20px;
position: absolute;
Expand Down