Skip to content

Commit 3e45922

Browse files
Kara HowesKara Howes
authored andcommitted
hard-coded index card, in HTML and CSS
1 parent c35466b commit 3e45922

2 files changed

Lines changed: 52 additions & 0 deletions

File tree

code/index.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<title>Project GitHub Tracker- Kara Howes</title>
88
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
9+
<link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet">
910

1011
<link rel="stylesheet" href="./style.css" />
1112
</head>
@@ -15,6 +16,32 @@ <h2>Projects:</h2>
1516
<main id="projects">
1617

1718
</main>
19+
<section class="cards-container">
20+
<section class="card">
21+
<div class="card-projectname" id="cardProjectName">
22+
Project Name</div>
23+
<div class="updated" id="cardUpdated">
24+
Most recent update:
25+
</div>
26+
<div class= "branch" id="cardBranch">
27+
Name of default branch:
28+
</div>
29+
<div class= "URL" id="cardURL">
30+
URL:
31+
</div>
32+
<div class= "number-commits" id="cardCommits">
33+
Number of commit Messages:
34+
</div>
35+
<div class= "blank-line" id="cardBlank">
36+
blank
37+
</div>
38+
<div class= "blank-line" id="cardBlank">
39+
blank
40+
</div>
41+
42+
43+
</section>
44+
</section>
1845

1946
<!-- This will be used to draw the chart 👇 -->
2047
<canvas id="chart" class="canvas-chart"></canvas>

code/style.css

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,33 @@
11
body {
22
background-color: aquamarine;
3+
font-family: 'Special Elite', cursive;
34
}
45

56
.canvas-chart{
67
max-width: 500px;
78

89
}
10+
11+
.cards-container {
12+
width: 90%;
13+
}
14+
.card {
15+
width: 80%;
16+
/*width: 500px;
17+
height: 300px;*/
18+
background-color: white;
19+
border: 1px solid #DADBDB;
20+
box-shadow: 1px 1px 3px rgba(0,0,0,.25);
21+
margin: 50px;
22+
23+
}
24+
.card-projectname {
25+
margin: 20px 0 0 0;
26+
padding: 20px 0 0 0;
27+
border-bottom: 3px solid pink
28+
}
29+
.updated, .branch, .URL, .number-commits, .blank-line {
30+
margin: 6px 0 0 0;
31+
padding: 6px 0 0 0;
32+
border-bottom: 1px solid #B2B3B4;
33+
}

0 commit comments

Comments
 (0)