Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
WebDev
epic-journey-display
Commits
27f2fad2
Commit
27f2fad2
authored
Jan 30, 2020
by
Porter Libby
Browse files
add some custom styles to bootstrap
parent
a3cd6f61
Changes
3
Hide whitespace changes
Inline
Side-by-side
index.html
View file @
27f2fad2
...
...
@@ -42,7 +42,7 @@
<body>
<!-- NAV BAR -->
<nav
class=
"navbar navbar-expand-lg navbar-
light bg-light
justify-content-betweenu"
>
<nav
class=
"navbar navbar-expand-lg navbar-
dark navbar-ec
justify-content-betweenu"
>
<a
class=
"navbar-brand"
href=
"#"
>
Earlham College
</a>
<button
class=
"navbar-toggler"
type=
"button"
data-toggle=
"collapse"
data-target=
"#navbarNavDropdown"
aria-controls=
"navbarNavDropdown"
aria-expanded=
"false"
aria-label=
"Toggle navigation"
>
<span
class=
"navbar-toggler-icon"
></span>
...
...
@@ -108,7 +108,7 @@
<div
class=
"carousel-item"
>
<img
class=
"d-block w-100"
src=
"public/img/ec-3.jpg"
alt=
"Third slide"
>
</div>
</div>
<a
class=
"carousel-control-prev"
href=
"#create-carousel"
role=
"button"
data-slide=
"prev"
>
<span
class=
"carousel-control-prev-icon"
aria-hidden=
"true"
></span>
...
...
public/css/main.css
View file @
27f2fad2
body
{
margin-left
:
100px
;
margin-right
:
100px
;
width
:
100%
;
height
:
100%
;
padding-left
:
10%
;
padding-right
:
10%
;
}
#search-bar
{
position
:
absolute
;
right
:
0px
;
}
.navbar-ec
{
background-color
:
#6f263d
;
color
:
white
;
}
.navbar-ec
.navbar-brand
,
.navbar-ec
.navbar-text
{
color
:
white
;
}
#create-carousel
{
height
:
300px
;
background-color
:
#ccc
;
...
...
public/img/ec-logo.png
0 → 100644
View file @
27f2fad2
2.76 KB
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