aboutsummaryrefslogtreecommitdiff
path: root/src/components/shared-styles.js
diff options
context:
space:
mode:
authorMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-02 16:03:24 -0400
committerMichael Foiani <mfoiani2019@communiyschoolnaples.org>2018-08-02 16:03:24 -0400
commit92cf7a78bcb68947321deeb51b32e203b7f6a6cd (patch)
tree7d3326b5342b6e072e509688fae01b1fe8fe9c02 /src/components/shared-styles.js
parent9760f71b0d53daa1753fb31562aba61a0808912a (diff)
Added pictures with text laying over them in home and tutoring page for style purposes.
Diffstat (limited to 'src/components/shared-styles.js')
-rw-r--r--src/components/shared-styles.js39
1 files changed, 39 insertions, 0 deletions
diff --git a/src/components/shared-styles.js b/src/components/shared-styles.js
index 02ea4bf..f75fa9c 100644
--- a/src/components/shared-styles.js
+++ b/src/components/shared-styles.js
@@ -38,6 +38,45 @@ export const SharedStyles = html`
color: var(--app-dark-text-color);
}
+
+ .img-section {
+ max-width: 100%;
+ width: 100%;
+ padding: 0;
+ margin: 0;
+
+ line-height: 0;
+ }
+
+ .img-section > div {
+ max-width: 100%;
+ width: 100%;
+ margin-bottom: 0;
+ }
+
+ .container > img {
+ width:100%;
+ }
+
+ .container {
+ position: relative;
+ text-align: center;
+ color: white;
+
+ margin-bottom: 0;
+ }
+
+ .centered {
+ position: absolute;
+ top: 50%;
+ left: 50%;
+ transform: translate(-50%, -50%);
+
+ font-weight: bolder;
+ font-size: 200%;
+ line-height: normal;
+ }
+
@media (min-width: 460px) {
h2 {
font-size: 36px;