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

My first attempt at completing my first real ticket. Added CSS stylin… #33

Open
wants to merge 2 commits into
base: main
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
8 changes: 8 additions & 0 deletions handlers/sprinterns2025.code-workspace
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"folders": [
{
"path": ".."
}
],
"settings": {}
}
41 changes: 36 additions & 5 deletions views/js/evently/src/HostList.css
Original file line number Diff line number Diff line change
@@ -1,16 +1,46 @@
.header{
text-align: center;
font-family: "Bree Serif";

color:#252628;
font-family: "Bitly Display ExtraBold", "Helvetica Neue", Helvetica, Arial, sans-serif;
display: block;
font-size: 40px;
line-height: 48px;
font-weight:800;
font-style: normal;
text-rendering: optimizeLegibility;
margin-top: 0;
margin: 0;
padding: 0;
box-sizing: inherit;
margin-block-start: 0.67em;
margin-block-end: 0.67em;
margin-inline-start: 0px;
margin-inline-end: 0px;
unicode-bidi: isolate;

}

.host-button{
background-color: #2A5DB7;
margin-bottom: 3rem;
background: #2a5bd7;
margin: 0 0 1rem 0;
color: white;
font-size: 1.5rem;
font-weight: 400;
font-family: inherit;
text-decoration: none;
padding: 1.2rem 2rem;
border-radius: 0.8rem;
text-align: center;
cursor: pointer;
outline: none !important;
display: inline-block;
vertical-align: middle;
box-sizing: inherit;
border: 1px solid transparent;
border-radius: 6px;
text-rendering: optimizeLegibility;
-webkit-text-size-adjust: 100%;
-webkit-font-smoothing:antialiased;

}

.column-names{
Expand All @@ -22,6 +52,7 @@ table{
border-collapse: collapse;
width: 100%;
table-layout: fixed;
margin-top: 50px;
}
td, th {
border: 1px solid #dddddd;
Expand Down
4 changes: 2 additions & 2 deletions views/js/evently/src/HostList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ function HostList() {
return (
<div>
<div className= "header">
<h1>All Hosts</h1>
<Link to="/create-host" className="host-button"> Create Host</Link>
<h1>Attendees</h1>
<Link to="/create-host" className="host-button"> Create Attendee</Link>
</div>
<table>
<thead className= "column-names">
Expand Down