Skip to content

Commit

Permalink
tidy css
Browse files Browse the repository at this point in the history
  • Loading branch information
holysoles committed Apr 28, 2024
1 parent 0292e70 commit f550a7c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 39 deletions.
30 changes: 30 additions & 0 deletions static/contact.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/* Style for contact page */
div.contact-container {
margin-top: 10px;
text-align: center;
}
ul.contact-links {
list-style-type: none;
line-height: 1.75;
}
.link-with-logo {
display: flex;
align-items: center;
justify-content: center;
white-space: pre;
}
.link-with-logo img {
width: 24px; /* Adjust the width as needed */
height: 24px; /* Adjust the height as needed */
margin-right: 8px;
}
.link-with-logo span {
font-weight: bold;
}
.link-with-logo a {
text-decoration: none;
color: #333; /* Change the color as needed */
}
.link-with-logo a:hover {
color: #0251ef;
}
39 changes: 0 additions & 39 deletions static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@ a {
transition: color 0.3s ease-in-out;
}

footer {
margin-top: 20px;
padding: 10px 0;
background-color: #333;
color: #fff;
text-align: center;
}

.blog-image {
max-width:500px
}
Expand Down Expand Up @@ -199,37 +191,6 @@ code {
border-left: 5px solid #ffc000;
}

/* Style for contact page */
div.contact-container {
margin-top: 10px;
text-align: center;
}
ul.contact-links {
list-style-type: none;
line-height: 1.75;
}
.link-with-logo {
display: flex;
align-items: center;
justify-content: center;
white-space: pre;
}
.link-with-logo img {
width: 24px; /* Adjust the width as needed */
height: 24px; /* Adjust the height as needed */
margin-right: 8px;
}
.link-with-logo span {
font-weight: bold;
}
.link-with-logo a {
text-decoration: none;
color: #333; /* Change the color as needed */
}
.link-with-logo a:hover {
color: #0251ef;
}

.header {
background-color: #f5f5f5;
position: fixed; /* Set header position to fixed */
Expand Down
1 change: 1 addition & 0 deletions templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<title>Patrick Evans</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}" />
<link rel="stylesheet" href="{{ url_for('static', filename='contact.css') }}" />
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
</head>
<body>
Expand Down

0 comments on commit f550a7c

Please sign in to comment.