Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
candi-date-tayo
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
George Nicole Balmaceda
candi-date-tayo
Commits
6f76b8c1
Commit
6f76b8c1
authored
Jul 19, 2016
by
Alexander Hans Collado Jr.
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed typography
parent
2a778124
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
5 deletions
+15
-5
style.css
app/assets/stylesheets/style.css
+13
-3
index.html.erb
app/views/pages/index.html.erb
+2
-2
No files found.
app/assets/stylesheets/style.css
View file @
6f76b8c1
...
...
@@ -17,15 +17,24 @@ html, body {
font-family
:
'Roboto'
!important
;
font-weight
:
300
;
}
a
{
color
:
#0070d2
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
color
:
#16325c
!important
;
font-weight
:
100
;
}
/* User defined styles */
.logo-container
{
display
:
flex
;
align-items
:
center
;
}
.main-heading
{
text-align
:
center
;
font-weight
:
100
;
}
.logo
{
padding
:
20px
;
}
...
...
@@ -33,7 +42,7 @@ h1, h2, h3, h4, h5, h6 {
hr
{
padding
:
0px
;
margin
:
0px
;
height
:
2
px
;
height
:
1
px
;
background-color
:
rgb
(
250
,
159
,
187
);
background-image
:
linear-gradient
(
to
right
,
rgba
(
250
,
159
,
187
,
0
),
rgb
(
191
,
76
,
118
));
}
...
...
@@ -51,6 +60,7 @@ hr {
.nav
a
{
position
:
relative
;
margin-right
:
1em
;
color
:
#5E6B7F
;
}
.navigation-buttons
{
...
...
@@ -61,7 +71,7 @@ hr {
background
:
#32B68D
;
padding
:
10px
40px
;
border-radius
:
3px
;
color
:
white
;
color
:
white
!important
;
transition
:
0.1s
ease-in-out
;
font-weight
:
300
;
}
...
...
app/views/pages/index.html.erb
View file @
6f76b8c1
<h
4>
Vote-A-Sutra
</h4
>
<h
3
class=
"main-heading"
>
Election Results
</h3
>
<hr>
<%
@positions
.
each
do
|
p
|
%>
<div
style=
"display:inline-block; padding:20px"
>
<h
4>
<%=
p
.
name
%>
</h4
>
<h
5>
<%=
p
.
name
%>
</h5
>
<table
style=
"width:100%;"
>
<thead><td>
</td><td>
Name
</td><td>
Slogan
</td><td>
Votes
</td><td>
</td></thead>
<%
total
=
0
%>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment