Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
labexercise2
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
Alexander Hans Collado Jr.
labexercise2
Commits
537b8b5b
Commit
537b8b5b
authored
Jul 02, 2016
by
[Alexis]
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed stylesheet
parent
a577a40f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
4 deletions
+89
-4
application.css
my_blog/app/assets/stylesheets/application.css
+79
-1
create.html.erb
my_blog/app/views/blog/create.html.erb
+9
-2
index.html.erb
my_blog/app/views/pages/index.html.erb
+1
-1
No files found.
my_blog/app/assets/stylesheets/application.css
View file @
537b8b5b
...
...
@@ -14,8 +14,10 @@
*= require_self
*/
body
{
font-size
:
1
6
px
;
font-size
:
1
7
px
;
background
:
#f7f7f7
;
padding
:
0
;
margin
:
0
;
}
article
{
margin-bottom
:
3em
;
...
...
@@ -48,6 +50,21 @@ box-shadow: -1px 2px 14px -4px rgba(0,0,0,0.28);
line-height
:
3rem
;
}
h1
.new
{
padding-bottom
:
0.2em
;
letter-spacing
:
1.2px
;
border-bottom
:
2px
solid
orange
;
font-size
:
1.7rem
;
line-height
:
3rem
;
font-family
:
'Fjalla One'
;
}
.new1
{
font-size
:
2rem
;
text-align
:
center
;
font-family
:
'Arimo'
;
}
.article-category
{
font-family
:
'Arimo'
;
font-size
:
0.7rem
;
...
...
@@ -63,3 +80,64 @@ box-shadow: -1px 2px 14px -4px rgba(0,0,0,0.28);
line-height
:
1.2em
;
}
a
{
padding
:
10px
;
display
:
block
;
background
:
black
;
color
:
white
;
text-decoration
:
none
;
text-align
:
center
;
font-family
:
'Titillium Web'
;
}
a
:hover
{
background
:
orange
;
}
label
{
display
:
block
;
font-family
:
'Titillium Web'
;
}
input
[
type
=
"submit"
]
{
background
:
black
;
padding
:
15px
90px
;
display
:
block
;
border
:
none
;
margin-top
:
40px
;
color
:
white
;
font-size
:
1rem
;
}
input
[
type
=
"submit"
]
:hover
{
background
:
orange
;
cursor
:
pointer
;
}
label
{
margin-top
:
20px
;
}
input
[
type
=
"text"
]
{
box-sizing
:
border-box
;
width
:
100%
;
font-family
:
Titillium
Web
;
padding
:
6px
;
font-size
:
1.2rem
;
}
textarea
{
width
:
100%
;
box-sizing
:
border-box
;
font-family
:
Titillium
Web
;
padding
:
6px
;
font-size
:
1.2rem
;
}
select
{
width
:
100%
;
font-family
:
Titillium
Web
;
padding
:
6px
;
font-size
:
1.2rem
;
}
\ No newline at end of file
my_blog/app/views/blog/create.html.erb
View file @
537b8b5b
<h1>
Create New Article
</h1>
<div
class=
"container"
>
<h1
class=
"new"
>
Create New Article
</h1>
<%=
form_tag
(
"/blog/save"
,
method
:"post"
)
do
%>
<label>
Title
</label>
<input
type=
"text"
name=
"title"
><br>
...
...
@@ -13,3 +17,6 @@
<textarea
name=
"article"
></textarea>
<input
type=
"submit"
name=
""
>
<%
end
%>
</div>
\ No newline at end of file
my_blog/app/views/pages/index.html.erb
View file @
537b8b5b
<h1>
Welcome to Dota Haven
</h1>
<h1
class=
"new1"
>
Welcome to Dota Haven
</h1>
<a
href=
"/blog"
>
Enter my Blog
</a>
\ No newline at end of file
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