Skip to content

Commit 083bcea

Browse files
committed
Initialize standard .gitignore
1 parent c8ccc87 commit 083bcea

3 files changed

Lines changed: 53 additions & 15 deletions

File tree

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
ai
11+
/node_modules
12+
/dist
13+
14+
# Editor directories and files
15+
.vscode/*
16+
!.vscode/extensions.json
17+
.idea
18+
.DS_Store
19+
*.suo
20+
*.ntvs*
21+
*.njsproj
22+
*.sln
23+
*.sw?

css/style.css

Lines changed: 21 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:root {
22
/* SVG Map */
3-
--bg-color: #b7b9a8;
3+
--bg-color: #d1d3be;
44
--color-active: #a8a965;
55
--color-hover: #5f6035;
66
--color-stroke: black;
@@ -20,6 +20,18 @@ body {
2020
max-width: 1200px;
2121
}
2222

23+
header {
24+
a {
25+
color: var(--color-black);
26+
text-decoration: none;
27+
transition: var(--transition);
28+
29+
&:hover {
30+
color: var(--color-hover);
31+
}
32+
}
33+
}
34+
2335
.map-container {
2436
background-color: var(--bg-color);
2537
border: 2px solid var(--color-hover);
@@ -41,15 +53,15 @@ svg {
4153
/* stroke-linecap:round; */
4254
/* stroke-linejoin:round; */
4355
stroke-miterlimit: 5;
44-
transition: all 0.5s;
45-
}
56+
transition: var(--transition);
4657

47-
.outline:hover {
48-
cursor: pointer;
49-
border: none;
50-
outline: none;
51-
fill: var(--color-hover);
52-
stroke: var(--color-stroke);
58+
&:hover {
59+
cursor: pointer;
60+
border: none;
61+
outline: none;
62+
fill: var(--color-hover);
63+
stroke: var(--color-stroke);
64+
}
5365
}
5466

5567

@@ -69,7 +81,6 @@ svg#harare .outline {
6981
SVG Pan Zoom Styling
7082
*******************/
7183

72-
/* TODO: Fix Controls overlay on maps */
7384
.pan-controls {
7485
display: inline-flex;
7586
padding: 0;

index.html

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,14 @@
1212

1313
<body>
1414

15-
<h1>Zimbabwe Provincial Map</h1>
16-
<p>Provinces are constituent political entities of Zimbabwe. Zimbabwe currently has ten provinces, two of which are cities with provincial status. Zimbabwe is a unitary state, and its provinces exercise only the powers that the central government chooses to delegate.</p>
17-
18-
<div class="map-container">
15+
<header>
16+
<a href="index.html">
17+
<h1>Zimbabwe Provincial Map</h1>
18+
</a>
19+
<p>Provinces are constituent political entities of Zimbabwe. Zimbabwe currently has ten provinces, two of which are cities with provincial status. Zimbabwe is a unitary state, and its provinces exercise only the powers that the central government chooses to delegate.</p>
20+
</header>
21+
22+
<main class="map-container">
1923
<svg id="zimbabwe" class="svg" x="0px" y="0px" viewBox="0 0 3370.51 2384.25">
2024
<a id="link" xlink:href="matebeleland-south.html">
2125
<polygon id="mat_south" data-tippy-content="Mat South" class="outline" points="1999.59,2270.65 1999.66,2270.7 2000.54,2271.09 2000.58,2271.1
@@ -9741,7 +9745,7 @@ <h1>Zimbabwe Provincial Map</h1>
97419745
<div class="icon-refresh"></div>
97429746
</span>
97439747
</div>
9744-
</div>
9748+
</main>
97459749

97469750
<script src='js/popper.min.js'></script>
97479751
<script src='js/tippy.min.js'></script>

0 commit comments

Comments
 (0)