Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add css changes to 'h1-water-css' & 'back-to-top-button' #328

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</head>

<body>
<h1>Water.css</h1>
<h1 id="h1-water-css">Water.css</h1>

<p>
Water.css is a drop-in collection of CSS styles to make simple websites like this just a
Expand Down Expand Up @@ -356,7 +356,7 @@ <h5>Heading 5</h5>
<h6>Heading 6</h6>

<footer>
<a href="#">Back to top ⬆</a>
<a id="back-to-top" href="#">Back to top ⬆</a>
</footer>
<script src="script.js" defer></script>
</body>
Expand Down
21 changes: 21 additions & 0 deletions docs/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,18 @@ html {
margin: 1rem 2.5rem 1rem 0;
}

#h1-water-css {
background: rgba( 255, 255, 255, 0.25 );
box-shadow: 0 8px 32px 0 rgba( 31, 38, 135, 0.37 );
backdrop-filter: blur( 4px );
border-radius: 10px;
border: 1px solid rgba( 255, 255, 255, 0.18 );
margin-bottom: 50px;
padding: 20px ;
width: max-content;
}


/* Make the feedback Emoji appear next to the button */
#copy-button {
position: relative;
Expand Down Expand Up @@ -63,3 +75,12 @@ body > footer {
align-items: center;
justify-content: space-between;
}

#back-to-top {
border-radius: 50px;
background: #e0e0e0;
box-shadow: 20px 20px 60px #bebebe,
-20px -20px 60px #ffffff;
margin: 30px 0;
padding: 20px;
}