Skip to content

Commit

Permalink
Merge pull request #16 from GetDKAN/develop
Browse files Browse the repository at this point in the history
Button style fixes
  • Loading branch information
TheBoatyMcBoatFace authored Aug 8, 2024
2 parents 41d9d84 + b87c04a commit 9c3c438
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ header .logo {
max-width: 30%;
}

/* Button */
.header-buttons {
position: relative;
z-index: 1;
Expand All @@ -217,9 +218,9 @@ header .logo {
.header-buttons a,
.header-buttons button {
margin: 0.5em; /* Adjust spacing as needed */
width: 150px;
}

/* Button */
.transparent-button {
background-color: transparent;
border: 2px solid var(--color-light-yellow);
Expand All @@ -232,6 +233,8 @@ header .logo {
cursor: pointer;
border-radius: 2em;
transition: background-color 0.3s, color 0.3s;
width: 150px;
box-sizing: border-box;
}

.transparent-button:hover {
Expand All @@ -245,6 +248,10 @@ header .logo {
max-width: 50%;
}

.header h2 {

}

.header-buttons {
flex-direction: column;
align-items: center; /* Center align the buttons */
Expand Down Expand Up @@ -430,6 +437,7 @@ header .logo {
flex-direction: column;
max-width: 600px;
margin: 0 auto;

}

.contact form label {
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ <h3>Contact Us</h3>

<label for="message">How can we help you?</label>
<textarea id="message" name="message" required></textarea>
<button class="transparent-button">Submit</button>
<button>Submit</button>
</form>
</section>
</div>
Expand Down

0 comments on commit 9c3c438

Please sign in to comment.