Skip to content

Commit 9b7d03b

Browse files
committed
CSS changes + typo change
1 parent a07e7d1 commit 9b7d03b

File tree

2 files changed

+16
-10
lines changed

2 files changed

+16
-10
lines changed

raffle-style.css

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,17 @@ body {
66
font-family: 'Lato', sans-serif;
77
font-size: 2em;
88
}
9-
9+
h2{
10+
text-align: center;
11+
}
12+
ul li {
13+
position: relative;
14+
display: inline-block;
15+
text-align: center;
16+
}
17+
ul {
18+
text-align:center;
19+
}
1020
.multi-12 {
1121
padding: 0;
1222
height: 24em;
@@ -18,7 +28,7 @@ body {
1828
line-height: 2em;
1929
margin: 0;
2030
padding: 0;
21-
width: 25%;
31+
width: 33%;
2232
text-transform: uppercase;
2333
animation: fadeIn 0.5s linear;
2434
animation-fill-mode: both;
@@ -43,28 +53,24 @@ body {
4353
margin-left: 100%;
4454
}
4555
.multi-12 > li:nth-child(-n+48) {
46-
margin-left: 75%;
56+
margin-left: 0%;
4757
}
4858
.multi-12 > li:nth-child(-n+36) {
49-
margin-left: 50%;
59+
margin-left: 0%;
5060
}
5161
.multi-12 > li:nth-child(-n+24) {
52-
margin-left: 25%;
62+
margin-left: 0%;
5363
}
5464
.multi-12 > li:nth-child(-n+12) {
5565
margin-left: 0%;
5666
}
57-
.multi-12 > li:nth-child(12n+13) {
58-
margin-top: -24em;
59-
}
6067
.multi-12 li {
6168
text-align: center;
6269
position: relative;
6370
}
6471
.multi-12 li:before {
6572
content: "";
6673
position: absolute;
67-
border-left: 1px solid #555;
6874
top: 0;
6975
bottom: 0;
7076
right: 0;

raffle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def html_writer(inputlist, total_winners, csvout, htmlout):
6161
'<link rel="stylesheet" href="raffle-style.css">\n'
6262
'</head>\n'
6363
'<body>\n'
64-
'<h2>SMKmeetunp Giveaway Winners</h2>\n'
64+
'<h2>SMKmeetup Giveaway Winners</h2>\n'
6565
'<ul class="multi-12">\n'
6666
)
6767
for winner in random.sample(inputlist, total_winners):

0 commit comments

Comments
 (0)