Skip to content

Commit 3c7c168

Browse files
committed
Update wireframe HTML and CSS
1 parent 3300b83 commit 3c7c168

2 files changed

Lines changed: 18 additions & 16 deletions

File tree

Wireframe/index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ <h2>What is a README file?</h2>
1919
<p>
2020
A README file is an essential component of many software projects, especially those hosted on platforms like GitHub.
2121
</p>
22-
<a href="https://www.geeksforgeeks.org/what-is-readme-md-file/#what-is-a-readmemd-file">Read more</a>
22+
<a class="btn" href="https://www.geeksforgeeks.org/what-is-readme-md-file/#what-is-a-readmemd-file">Read more</a>
2323
</article>
2424

2525
<article>
@@ -28,7 +28,7 @@ <h2>What is a Wireframe?</h2>
2828
<p>
2929
A wireframe is a visual blueprint of a website or application's layout, focusing on structure and functionality without the distraction of design elements.
3030
</p>
31-
<a href="https://balsamiq.com/learn/articles/what-are-wireframes">Read more</a>
31+
<a class="btn" href="https://balsamiq.com/learn/articles/what-are-wireframes">Read more</a>
3232
</article>
3333

3434
<article>
@@ -37,9 +37,8 @@ <h2>What is a Branch in Git?</h2>
3737
<p>
3838
In Git, a branch is an independent line of development that allows you to work on new features or fixes without affecting the main codebase.
3939
</p>
40-
<a href="https://www.w3schools.com/git/git_branch.asp">Read more</a>
40+
<a class="btn" href="https://www.w3schools.com/git/git_branch.asp">Read more</a>
4141
</article>
42-
4342
</main>
4443

4544

Wireframe/style.css

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,25 @@ header p {
5757
text-align: center;
5858
}
5959

60-
a {
61-
padding: var(--space);
62-
border: var(--line);
63-
align-items: center;
64-
gap: .5rem;
65-
display: inline-flex;
60+
.btn {
61+
display: inline-block;
62+
padding: 8px 14px;
63+
border: 2px solid var(--line);
64+
border-radius: 8px;
65+
background: #f7f7f7;
66+
color: var(--ink);
67+
font-weight: 700;
6668
text-decoration: none;
67-
border-color: currentColor;;
68-
border-radius: .5rem;
69-
transition: transition: background-color .2s ease, border-color .2s ease, transform .1s ease;
69+
7070
}
7171

72-
a:hover {
73-
background-color: color-mix(in oklab, var(--paper)90%, white);
74-
transform: scale(1.02);
72+
.btn:focus, .btn:hover-visible {
73+
outline: none;
74+
transform: translayeY(-1px);
75+
box-shadow: 0 1px 0 rgba(0,0,0,.15);
7576
}
77+
.btn:active { transform: translateY(0); box-shadow: none; }
78+
7679

7780
img,
7881
svg {

0 commit comments

Comments
 (0)