Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Lynchburg Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor 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
Lynchburg
Lynchburg Server
Commits
601433fd
Commit
601433fd
authored
4 years ago
by
Nils G.
Browse files
Options
Downloads
Patches
Plain Diff
Fix css for header
parent
bf7ca5a4
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
static/css/base.css
+16
-7
16 additions, 7 deletions
static/css/base.css
views/include/header_debug.html
+2
-2
2 additions, 2 deletions
views/include/header_debug.html
views/layout.html
+1
-1
1 addition, 1 deletion
views/layout.html
with
19 additions
and
10 deletions
static/css/base.css
+
16
−
7
View file @
601433fd
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
}
}
body
,
html
{
body
,
html
{
min-width
:
3
75px
;
min-width
:
2
75px
;
}
}
/* =============== Header =================== */
/* =============== Header =================== */
...
@@ -34,22 +34,31 @@ body, html {
...
@@ -34,22 +34,31 @@ body, html {
}
}
#header
span
{
#header
span
{
vertical-align
:
middle
;
overflow
:
hidden
;
}
#header
#header_left
,
#header
#header_right
{
display
:
table-cell
;
line-height
:
10px
;
word-wrap
:
anywhere
;
font-size
:
0.6em
;
width
:
20%
;
}
}
#header
#header_left
{
#header
#header_left
{
margin-left
:
15%
;
float
:
left
;
float
:
left
;
text-align
:
left
;
padding-left
:
5%
;
}
}
#header
#header_center
{
#header
#header_center
{
margin-left
:
10px
;
margin
:
auto
;
margin-right
:
10px
;
}
}
#header
#header_right
{
#header
#header_right
{
margin-right
:
15%
;
float
:
right
;
float
:
right
;
text-align
:
right
;
padding-right
:
5%
;
}
}
.spacer
{
.spacer
{
...
@@ -65,7 +74,7 @@ body, html {
...
@@ -65,7 +74,7 @@ body, html {
left
:
0px
;
left
:
0px
;
bottom
:
0px
;
bottom
:
0px
;
width
:
100%
;
width
:
100%
;
min-width
:
inherit
;
min-width
:
300px
;
margin-top
:
20px
;
margin-top
:
20px
;
padding
:
5px
;
padding
:
5px
;
...
...
This diff is collapsed.
Click to expand it.
views/include/header_debug.html
+
2
−
2
View file @
601433fd
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
$
(
"
#header_left
"
).
html
(
"
{{=
player
_record.
nam
e}}
"
);
$
(
"
#header_left
"
).
html
(
"
{{=
room
_record.
cod
e}}
"
);
$
(
"
#header_center
"
).
html
(
"
Lynchburg
"
);
$
(
"
#header_center
"
).
html
(
"
Lynchburg
"
);
$
(
"
#header_right
"
).
html
(
"
{{=
room
_record.
cod
e}}
"
);
$
(
"
#header_right
"
).
html
(
"
{{=
player
_record.
name}}:{{=player_record.rol
e}}
"
);
</script>
</script>
This diff is collapsed.
Click to expand it.
views/layout.html
+
1
−
1
View file @
601433fd
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
</head>
</head>
<body>
<body>
<div
id=
"header"
><span
id=
"header_left"
></span><span
id=
"header_
center
"
></span><span
id=
"header_
right
"
></span></div>
<div
id=
"header"
><span
id=
"header_left"
></span><span
id=
"header_
right
"
></span><span
id=
"header_
center
"
></span></div>
<div
class=
"spacer"
></div>
<div
class=
"spacer"
></div>
<!-- Page Content -->
<!-- Page Content -->
...
...
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