Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ubezi
web-ausstellung-virtuell.de
Commits
dcae7057
Commit
dcae7057
authored
Oct 26, 2017
by
Jonas Heinrich
Browse files
added docker-compose file for wordpress env
parent
2fcb211c
Changes
3
Hide whitespace changes
Inline
Side-by-side
css/cover.css
deleted
100644 → 0
View file @
2fcb211c
/*
* Globals
*/
/* Links */
a
,
a
:focus
,
a
:hover
{
color
:
#fff
;
}
/* Custom default button */
.btn-secondary
,
.btn-secondary
:hover
,
.btn-secondary
:focus
{
color
:
#333
;
text-shadow
:
none
;
/* Prevent inheritance from `body` */
background-color
:
#fff
;
border
:
.05rem
solid
#fff
;
}
/*
* Base structure
*/
html
,
body
{
height
:
100%
;
background-color
:
#333
;
}
body
{
color
:
#fff
;
text-align
:
center
;
text-shadow
:
0
.05rem
.1rem
rgba
(
0
,
0
,
0
,
.5
);
}
/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper
{
display
:
table
;
width
:
100%
;
height
:
100%
;
/* For at least Firefox */
min-height
:
100%
;
-webkit-box-shadow
:
inset
0
0
5rem
rgba
(
0
,
0
,
0
,
.5
);
box-shadow
:
inset
0
0
5rem
rgba
(
0
,
0
,
0
,
.5
);
}
.site-wrapper-inner
{
display
:
table-cell
;
vertical-align
:
top
;
}
.cover-container
{
margin-right
:
auto
;
margin-left
:
auto
;
}
/* Padding for spacing */
.inner
{
padding
:
2rem
;
}
/*
* Header
*/
.masthead
{
margin-bottom
:
2rem
;
}
.masthead-brand
{
margin-bottom
:
0
;
}
.nav-masthead
.nav-link
{
padding
:
.25rem
0
;
font-weight
:
bold
;
color
:
rgba
(
255
,
255
,
255
,
.5
);
background-color
:
transparent
;
border-bottom
:
.25rem
solid
transparent
;
}
.nav-masthead
.nav-link
:hover
,
.nav-masthead
.nav-link
:focus
{
border-bottom-color
:
rgba
(
255
,
255
,
255
,
.25
);
}
.nav-masthead
.nav-link
+
.nav-link
{
margin-left
:
1rem
;
}
.nav-masthead
.active
{
color
:
#fff
;
border-bottom-color
:
#fff
;
}
@media
(
min-width
:
48em
)
{
.masthead-brand
{
float
:
left
;
}
.nav-masthead
{
float
:
right
;
}
}
/*
* Cover
*/
.cover
{
padding
:
0
1.5rem
;
}
.cover
.btn-lg
{
padding
:
.75rem
1.25rem
;
font-weight
:
bold
;
}
/*
* Footer
*/
.mastfoot
{
color
:
rgba
(
255
,
255
,
255
,
.5
);
}
/*
* Affix and center
*/
@media
(
min-width
:
40em
)
{
/* Pull out the header and footer */
.masthead
{
position
:
fixed
;
top
:
0
;
}
.mastfoot
{
position
:
fixed
;
bottom
:
0
;
}
/* Start the vertical centering */
.site-wrapper-inner
{
vertical-align
:
middle
;
}
/* Handle the widths */
.masthead
,
.mastfoot
,
.cover-container
{
width
:
100%
;
/* Must be percentage or pixels for horizontal alignment */
}
}
@media
(
min-width
:
62em
)
{
.masthead
,
.mastfoot
,
.cover-container
{
width
:
42rem
;
}
}
docker-compose.yml
0 → 100644
View file @
dcae7057
version
:
'
3'
services
:
db
:
image
:
mysql:5.7
volumes
:
-
db_data:/var/lib/mysql
restart
:
always
environment
:
MYSQL_ROOT_PASSWORD
:
somewordpress
MYSQL_DATABASE
:
wordpress
MYSQL_USER
:
wordpress
MYSQL_PASSWORD
:
wordpress
wordpress
:
depends_on
:
-
db
image
:
wordpress:latest
volumes
:
-
.:/var/www/html/wp-content/themes/ausstellung-virtuell
ports
:
-
"
8000:80"
restart
:
always
environment
:
WORDPRESS_DB_HOST
:
db:3306
WORDPRESS_DB_USER
:
wordpress
WORDPRESS_DB_PASSWORD
:
wordpress
volumes
:
db_data
:
index.php
View file @
dcae7057
...
...
@@ -14,7 +14,7 @@
<link
href=
"
<?php
echo
get_template_directory_uri
();
?>
/css/bootstrap.min.css"
rel=
"stylesheet"
>
<!-- Custom styles for this template -->
<link
href=
"
<?php
echo
get_template_directory_uri
();
?>
/
css/cover
.css"
rel=
"stylesheet"
>
<link
href=
"
<?php
echo
get_template_directory_uri
();
?>
/
style
.css"
rel=
"stylesheet"
>
</head>
<body>
...
...
@@ -30,10 +30,9 @@
<h3
class=
"masthead-brand"
><a
href=
"
<?php
echo
esc_url
(
home_url
(
'/'
)
);
?>
"
title=
"
<?php
echo
esc_attr
(
get_bloginfo
(
'name'
,
'display'
)
);
?>
"
rel=
"home"
>
<?php
bloginfo
(
'name'
);
?>
</a></h3>
<nav
class=
"nav nav-masthead"
>
<a
class=
"nav-link active"
href=
"#"
>
Home
</a>
<a
class=
"nav-link"
href=
"#"
>
Features
</a>
<a
class=
"nav-link"
href=
"#"
>
Contact
</a>
<?php
wp_nav_menu
(
array
(
'theme_location'
=>
'primary'
,
'menu_class'
=>
'nav-menu'
)
);
?>
<a
class=
"nav-link"
href=
"#"
>
Kontakt
</a>
</nav>
</div>
</div>
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment