Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gitlab_pages_test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Anton Tetov Johansson
gitlab_pages_test
Commits
36453010
Commit
36453010
authored
8 years ago
by
winniehell
Browse files
Options
Downloads
Patches
Plain Diff
Add some example CSS
parent
d396283b
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
README.md
+2
-1
2 additions, 1 deletion
README.md
public/index.html
+7
-0
7 additions, 0 deletions
public/index.html
public/style.css
+24
-0
24 additions, 0 deletions
public/style.css
with
33 additions
and
1 deletion
README.md
+
2
−
1
View file @
36453010
...
@@ -55,8 +55,9 @@ unless you want to contribute back to the upstream project.
...
@@ -55,8 +55,9 @@ unless you want to contribute back to the upstream project.
## Troubleshooting
## Troubleshooting
1.
CSS is missing! That means that you have wrongly set up the CSS URL in your
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/
[
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
[
userpages
]:
http://doc.gitlab.com/ee/pages/README.html#user-or-group-pages
[
projpages
]:
http://doc.gitlab.com/ee/pages/README.html#project-pages
[
projpages
]:
http://doc.gitlab.com/ee/pages/README.html#project-pages
This diff is collapsed.
Click to expand it.
public/index.html
+
7
−
0
View file @
36453010
...
@@ -4,8 +4,15 @@
...
@@ -4,8 +4,15 @@
<meta
charset=
"utf-8"
>
<meta
charset=
"utf-8"
>
<meta
name=
"generator"
content=
"GitLab Pages"
>
<meta
name=
"generator"
content=
"GitLab Pages"
>
<title>
Plain HTML site using GitLab Pages
</title>
<title>
Plain HTML site using GitLab Pages
</title>
<link
rel=
"stylesheet"
href=
"style.css"
>
</head>
</head>
<body>
<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>
<h1>
Hello World!
</h1>
<p>
<p>
...
...
This diff is collapsed.
Click to expand it.
public/style.css
0 → 100644
+
24
−
0
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
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment