Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nander13.gmu.io
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nicholas J Anderson
nander13.gmu.io
Commits
36453010
Commit
36453010
authored
Jul 12, 2016
by
winniehell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add some example CSS
parent
d396283b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
1 deletion
+33
-1
README.md
README.md
+2
-1
public/index.html
public/index.html
+7
-0
public/style.css
public/style.css
+24
-0
No files found.
README.md
View file @
36453010
...
...
@@ -55,8 +55,9 @@ unless you want to contribute back to the upstream project.
## Troubleshooting
1.
CSS is missing! That means that you have wrongly set up the CSS URL in your
HTML files.
HTML files.
Have a look at the [index.html] for an example.
[
ci
]:
https://about.gitlab.com/gitlab-ci/
[
index.html
]:
https://gitlab.com/pages/plain-html/blob/master/public/index.html
[
userpages
]:
http://doc.gitlab.com/ee/pages/README.html#user-or-group-pages
[
projpages
]:
http://doc.gitlab.com/ee/pages/README.html#project-pages
public/index.html
View file @
36453010
...
...
@@ -4,8 +4,15 @@
<meta
charset=
"utf-8"
>
<meta
name=
"generator"
content=
"GitLab Pages"
>
<title>
Plain HTML site using GitLab Pages
</title>
<link
rel=
"stylesheet"
href=
"style.css"
>
</head>
<body>
<div
class=
"navbar"
>
<a
href=
"https://pages.gitlab.io/plain-html/"
>
Plain HTML Example
</a>
<a
href=
"https://gitlab.com/pages/plain-html/"
>
Repository
</a>
<a
href=
"https://gitlab.com/pages/"
>
Other Examples
</a>
</div>
<h1>
Hello World!
</h1>
<p>
...
...
public/style.css
0 → 100644
View file @
36453010
body
{
font-family
:
sans-serif
;
margin
:
auto
;
max-width
:
1280px
;
}
.navbar
{
background-color
:
#313236
;
border-radius
:
2px
;
max-width
:
800px
;
}
.navbar
a
{
color
:
#aaa
;
display
:
inline-block
;
font-size
:
15px
;
padding
:
10px
;
text-decoration
:
none
;
}
.navbar
a
:hover
{
color
:
#ffffff
;
}
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