Nav bar styling fixes. Heading styling fixes.
This commit is contained in:
@@ -1,12 +1,17 @@
|
|||||||
body {
|
body {
|
||||||
background-color: white;
|
|
||||||
font-family: 'Crimson Text', sans-serif;
|
font-family: 'Crimson Text', sans-serif;
|
||||||
text-shadow: 3px 3px 3px #ababab;
|
|
||||||
color: #2f273e;
|
color: #2f273e;
|
||||||
|
font-size: 1.1rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
body {
|
||||||
|
background-color: #d5caf2;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
header {
|
header {
|
||||||
.nav {
|
nav {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|
||||||
@@ -92,3 +97,39 @@ footer {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
color: #2f273e;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
a:hover {
|
||||||
|
text-decoration: underline;
|
||||||
|
}
|
||||||
|
|
||||||
|
ul {
|
||||||
|
text-align: left;
|
||||||
|
max-width: 44%;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media screen and (max-width: 600px) {
|
||||||
|
ul {
|
||||||
|
max-width: 90% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
h1,
|
||||||
|
h2,
|
||||||
|
h3,
|
||||||
|
h4,
|
||||||
|
h5 {
|
||||||
|
text-shadow: 3px 3px 3px #ababab;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-size: 3rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
p {
|
||||||
|
text-align: justify;
|
||||||
|
}
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<header >
|
<header >
|
||||||
<nav class="nav" role="navigation">
|
<nav class="main-nav-bar" role="navigation">
|
||||||
<%= link "Etusivu", to: Routes.page_path(@conn, :index) %>
|
<%= link "Etusivu", to: Routes.page_path(@conn, :index) %>
|
||||||
<%= link "Ohjelma", to: Routes.performance_path(@conn, :index) %>
|
<%= link "Ohjelma", to: Routes.performance_path(@conn, :index) %>
|
||||||
<%= link "Esiintyjät", to: Routes.performer_path(@conn, :index) %>
|
<%= link "Esiintyjät", to: Routes.performer_path(@conn, :index) %>
|
||||||
|
|||||||
Reference in New Issue
Block a user