Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Merge branch master into stable #254

Merged
merged 1 commit into from
Jul 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 32 additions & 1 deletion app/assets/stylesheets/application.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ html {
body {
background: transparent image-url("bg-gradient.png") repeat-x top left;
margin: 0;
padding: 17px 0 20px;
padding: 0px 0 20px;
}
#container {
margin: 0 auto;
Expand Down Expand Up @@ -217,6 +217,37 @@ ul#nav-menu li a {
overflow: hidden;
width: inherit;
}

.preheader {
background-color: #221e1f;
color: #fff;
display: inline-block;
font-size: 15px;
font-weight: normal;
height: 29px;
margin-bottom: 17px;
overflow: hidden;
padding: 8px 0;
text-align: center;
width: 100%;
}

.preheader a {
color: white;
font-weight: normal;
text-decoration: underline;
}

.preheader a:hover {
background-color: #ccc;
}

.preheader a:visited {
color: white;
font-weight: normal;
text-decoration: underline;
}

a#logo {
float: left;
margin-right: 10px;
Expand Down
10 changes: 10 additions & 0 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,16 @@
</head>
<body class="<%= yield :bodyclass %>">

<div class="preheader">
<p>
There's a new player in town! We encourage PredictionBook users to check out
<a href="https://fatebook.io" target="_blank">fatebook.io</a>, and tell us about your experience
(
<a href="https://github.com/bellroy/predictionbook/issues/253" target="_blank">read more</a>
).
</p>
</div>

<div id="container">

<div id="header" class="wrapper clear">
Expand Down