-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy patht1.css
More file actions
162 lines (149 loc) · 2.79 KB
/
t1.css
File metadata and controls
162 lines (149 loc) · 2.79 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
body{
margin: 0;
background-image: url("./indexBack2.jpg");
background-repeat: no-repeat;
background-attachment: fixed; /*to give the scrolling effect*/
background-size:cover ;
}
main, footer{
margin: 10px;
}
main{
margin: 2px;
}
header img{
height: 150px;
width: 100%;
}
nav{
opacity: 1.0;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}
ul{
margin-block-start: 0%;
padding-inline-start: 5px;
border-radius: 10px;
align-content: center;
}
li{
display:inline;
border: 2px solid rgb(36, 65, 192) ;
border-radius: 10px;
padding: 2px 20px;
margin: 2px 20px;
background-color: aliceblue;
}
li a{
text-decoration: none;
}
a:link{
color: black;
}
/* flexbox */
.animalType{
display: flex;
flex-direction: row;
padding-inline-start: 20%;
flex-wrap: wrap;
width: 70%;
height: 40%;
}
/* flex item */
.animalType div{
flex-grow: 1;
width: 35%;
margin: 14px 0px;
}
.animalType img{
border-radius: 20px;
width: 100%;
height: 110%;
}
small{
position: absolute;
margin: 20px;
padding: 10px;
color: white;
font-family: 'Courier New', Courier, monospace;
background-color: rgba(0, 0, 0, 0.5);
}
.upButton{
position: fixed;
width: 50px;
height: 50px;
background-image: url(./arrowUp.jpg);
background-size: 100% 100%;
background-color:white;
box-shadow: 0px 0px 10px coral;
border: none;
border-radius: 20px;
bottom: 10vh;
right: 5vw;
}
.topnav {
overflow: hidden;
background-image:url("./Banner3.0.png");
height: 200px;
background-repeat: no-repeat;
background-size: 100%;
}
.topnav a {
float: left;
color: #f2f2f2;
text-align: center;
padding: 14px 16px;
text-decoration: none;
font-size: 17px;
}
.topnav a:hover {
background-color: #ddd;
color: black;
}
.topnav a:active {
background-color: #4CAF50;
color: white;
}
/* This part is mainly for form, subscribe.html */
.formtitle{
text-align: center;
font-weight: bold;
font-size: xx-large;
color: black;
}
input[type=email], input[type=text], select {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
display: inline-block;
border: 1px solid #ccc;
border-radius: 4px;
box-sizing: border-box;
}
button{
width: 100%;
background-color: #4CAF50;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 4px;
cursor: pointer;
}
button:hover {
background-color: #45a049;
}
/* box for form */
.form {
border-radius: 5px;
background-color: #f2f2f2;
margin: 100px 150px 25px;
padding: 50px;
}
form p{
font-size: x-large;
text-align: center;
color: #45a049;
}
label, input{
margin: 10px 10px 10px 0px;
}