Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: includes/index/style.html

Issue 29673627: Issue 4797 - Separate white box and text from eyeo.com homepage banner (Closed) Base URL: https://hg.adblockplus.org/web.eyeo.com
Patch Set: Created Jan. 18, 2018, 4:41 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | pages/index.tmpl » ('j') | pages/index.tmpl » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: includes/index/style.html
===================================================================
--- a/includes/index/style.html
+++ b/includes/index/style.html
@@ -69,9 +69,56 @@
@media (min-width: 930px)
{
#media small
{
display: none;
}
}
+#home-image-container div
juliandoucette 2018/01/25 14:27:29 NIT: It seems like #home-image-container is really
ire 2018/01/26 10:11:01 Done. I kept the ID on the <header> because I need
juliandoucette 2018/01/30 04:22:19 Acknowledged.
+{
+ position: relative;
+ max-width: 1080px;
+ margin: 0 auto;
+}
+
+#home-image-container p
+{
+ position: absolute;
+ right: 0;
+ bottom: 0;
+ width: 100%;
+ padding: 10px;
+ background-color: #fff;
+ text-transform: uppercase;
+ font-size: 18px;
+ box-sizing: border-box;
+}
+
+@media (min-width: 350px)
+{
+ #home-image-container p
+ {
+ width: 80%;
+ }
+}
+
+@media (min-width: 450px)
+{
+ #home-image-container p
+ {
+ width: 60%;
+ font-size: 20px;
+ }
+}
+
+@media (min-width: 767px)
+{
+ #home-image-container p
+ {
+ padding: 15px;
+ width: 40%;
+ font-size: 22px;
+ }
+}
+
</style>
« no previous file with comments | « no previous file | pages/index.tmpl » ('j') | pages/index.tmpl » ('J')

Powered by Google App Engine
This is Rietveld