Skip to content

Commit

Permalink
tribute-page: minor layout changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Bharath314 committed May 8, 2024
1 parent d35263d commit 90235c6
Showing 1 changed file with 44 additions and 48 deletions.
92 changes: 44 additions & 48 deletions certification/tribute-page/styles.css
Original file line number Diff line number Diff line change
@@ -1,48 +1,44 @@
* {
margin: 0;
padding: 0;
border: 0;
}

body {
background-image: url("https://images.unsplash.com/photo-1489648022186-8f49310909a0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2110&q=80");
/* background-size: cover;
background-repeat: no-repeat; */
color: #f5f6f7;
font-family: 'Roboto', sans-serif;
padding: 1.25rem;
}

main {
background-color: rgba(0, 0, 0, 0.75);
width: 75vw;
margin: 0 auto;
padding: 1.25rem;
max-width: 120rem;
min-width: 18.125rem;
}

#title {
text-align: center;
color: orange;
padding: 0.25rem 0.25rem 0.05rem 0.25rem;
font-size: 3rem;
}

#title + p {
text-align: center;
padding-bottom: 1rem;
}

#img-div {
text-align: center;
padding: 1rem;
}

#image {
display: block;
margin: auto;
border-radius: 1rem;
max-width: 100%;
height: auto;
}
body {
background-image: url("https://images.unsplash.com/photo-1489648022186-8f49310909a0?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=2110&q=80");
color: white;
font-family: 'Roboto', sans-serif;
/* padding: 1rem; */
}

main {
background-color: rgba(0, 0, 0, 0.75);
border-radius: 1rem;
width: 75vw;
margin: auto;
padding: 1.25rem;
min-width: 18.125rem;
}

#title {
text-align: center;
color: orange;
font-size: 3rem;
margin: 1rem;
}

#title+p {
text-align: center;
margin: 0rem
}

#img-div {
text-align: center;
margin: 2rem
}

#image {
display: block;
margin: auto;
margin-bottom: 0.5rem;
border-radius: 1rem;
max-width: 100%;
}

h2 {
text-align: center;
}

0 comments on commit 90235c6

Please sign in to comment.