-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
173 lines (160 loc) · 2.96 KB
/
main.css
File metadata and controls
173 lines (160 loc) · 2.96 KB
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
/*This is the css file for index.html*/
body {
background-image: url("http://pcwallart.com/images/colorado-mountain-landscape-wallpaper-3.jpg");
background-size:contain; /*or alternatively 100% 100%*/
}
.main-container {
max-width:960px;
margin:auto;
}
.navbar {
background-color:rgba(192,192,192,0.8);
width:100%;
position:fixed;
z-index: 1;
top:0;
left:0;
min-height:60px ;
max-height: 70px;
height:7vh;
}
.navbar-container{
max-width: 960px;
margin: auto;
}
.logo {
display:inline-block;
margin-top:8px;
margin-left:3%;
width:20%;
}
.navbar-items-div {
display:inline-block;
}
.navbar-items {
padding-left:4vw;
}
.navbar-item {
width:18%;
display:inline-block;
padding-left:1%;
padding-right:1%;
font-family: sans-serif;
font-size:90%;
margin-top: -10px;
vertical-align: middle;
}
.navbar-last-item {
display:inline-block;
padding-left:2vw;
vertical-align: top;
margin-top: -3%;
}
.welcome-to-appventure {
width:400px;
height:200px;
transform:translateY(130px);
display:inline-block;
}
.welcome-to-appventure-text {
font-family: sans-serif;
font-size: 70px;
color:rgba(192,192,192,0.85);
vertical-align: center;
}
.appventure-description {
display:inline-block;
/*overflow:hidden;*/
width:400px;
height:200px;
transform:translateY(380px);
margin-left: 50px;
color:rgba(192,192,192,0.95);
font-family: sans-serif;
font-size: 22px;
}
.website-features {
width:100%;
text-align: center;
margin-top: 400px;
}
.website-features-1 {
display:inline-block;
margin:50px;
background-image:url("feature1.png");
background-size:180px 180px;
border-radius: 100px;
width:180px;
height:180px;
}
.website-features-2 {
display:inline-block;
margin:50px;
background-image:url("feature2.png");
background-size:180px 180px;
border-radius: 100px;
width:180px;
height:180px;
}
.website-features-3 {
display:inline-block;
margin:50px;
background-image:url("feature3.png");
background-size:180px 180px;
border-radius: 100px;
width:180px;
height:180px;
}
/*more responsive part of the css as you increase/decrease the screen in size*/
@media screen and (max-width:885px){
.welcome-to-appventure {
display:block;
margin:auto;
margin-bottom:0px;
text-align: center;
}
.appventure-description {
display:block;
margin:auto;
margin-top:-270px;
text-align: center;
}
.website-features {
width:100%;
text-align: center;
margin-top: 600px;
}
}
/*the following is for when the screen size is 723px and below*/
@media screen and (max-width:723px){
.navbar {
height:11vh;
min-height: 90px;
max-height: 110px;
}
}
/*the following is for when the screen size is 470px and below*/
@media screen and (max-width:470px){
.navbar {
height:22vh;
min-height: 200px;
max-height: 350px;
}
.logo {
text-align: center;
}
.navbar-item {
display:block;
padding-top:20px;
padding-left:20%;
width:60%;
}
.navbar-last-item {
padding-top:20px;
padding-left:20%;
width:60%;
}
.welcome-to-appventure {
margin-top: 100px;
}
}