-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathstyles.css
144 lines (132 loc) · 3.51 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/* my Disney Palette picked from the background image
CSS HEX */
:root{
--dark-slate-blue: #393E8F;
--upsdell-red: #B12228;
--crayolas-orange-yellow: #F3CC64;
--medium-champagne:#FEECAE;
--oxford-blue: #12194A;
}
/*
Disney website 50th anniversary banner gradient colors
linear-gradient(95deg, #5c5c8a 3%, #9a6e8d 35%, #bc865c 65%, #7f847b 85%, #5c5c8a 96%)
*/
body{
text-align: center;
font-family: 'Happy Monkey', cursive;
color: white;
margin: 0px;
}
#hero{
/*top section picture and titles*/
display: flex;
flex-direction: column;
align-items: center;
justify-content: start;
background-size: auto;
background-position: center;
background-repeat: no-repeat;
background-image: url("https://www.disneyfoodblog.com/wp-content/uploads/2020/12/2020-WDW-Entrance-Sign-Gateway-Construction-Painting-Completed-2.jpg"),linear-gradient(95deg, #5c5c8a 3%, #9a6e8d 35%, #bc865c 65%, #7f847b 85%, #5c5c8a 96%);
}
.hero-title{
margin: 30px;
background: var(--dark-slate-blue);
padding: 4px 40px;
border-radius: 14px;
}
.hero-subtitle{
margin: 100px 0 40px 0;
background: var(--crayolas-orange-yellow);
padding: 4px 12px;
border-radius: 14px;
}
#activities{
/*middle section pictures of activities with descriptions
need this so that a background color shows beyond the
box constraining the activities*/
background: var(--medium-champagne);
}
.activities-box{
/*this box constrains the activity columns to match
the width of the hero section*/
display: flex;
justify-content: space-around;
align-items: start;
/*keep same width as banner picture*/
width: 900px;
margin:auto;
padding: 60px 0px;
background: var(--medium-champagne);
color: var(--oxford-blue);
}
.activity{
/*each activity picture and description section*/
width: 200px;
}
.activity-img{
/*individual activity image designed to be in a round circle*/
border-radius: 50%;
width: 150px;
}
#yourguide{
/*displays one or more 'card's introducing people*/
padding: 60px 0px;
background-color: whitesmoke;
}
.guide-card{
/* creates the framing 'card' on which the guide contents sits*/
width: 425px;
margin: 30px auto;
padding: 15px;
display: flex;/*allows the img and text to sit side by side*/
justify-content: space-around;
background: var(--dark-slate-blue);
border-bottom: 10px solid var(--upsdell-red);
border-radius: 6px;
}
.guide-img{
/*the guide picture*/
width: 180px;
height: min-content;
border-radius: 6px;
margin: 25px 15px 25px 0px;
}
.guideinfo{
/*the guide's info and descriptive text*/
display: flex;
flex-direction: column;
width: 300px;
}
#bonus{
color:var(--oxford-blue);
background:whitesmoke;
}
.bonus-banner{
background-image: linear-gradient(95deg, #5c5c8a 3%, #9a6e8d 35%, #bc865c 65%, #7f847b 85%, #5c5c8a 96%) ;
height: 75px;
}
.bonus-banner h1{
margin: auto 0px;
padding: 20px;
text-shadow: 0 0 3px white;
}
.bonus-info{
width: 500px;
margin: auto;
}
#before-after-img{
background: url("images/before-castle.jpg");
height: 745px;
margin: 0 auto; /*centers the img with the larger wrapper */
padding-bottom: 30px;
width: 555px;
border: 3px dashed var(--dark-slate-blue);
background-position: center;
background-repeat: no-repeat;
}
#before-after-img:hover{
background: url("images/after-castle.jpg");
height: 745px;
background-position: center;
background-repeat: no-repeat;
}