-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathabout-styles.css
More file actions
157 lines (136 loc) · 2.89 KB
/
about-styles.css
File metadata and controls
157 lines (136 loc) · 2.89 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
body{
background-color:white;
background-size:auto;
}
h1{
margin-top: 5%;
margin-bottom: -5%;
font-weight: lighter;
}
h1 strong{
font-weight: bold;
color:lightgrey
}
h1{
font-size: 1.4em;
font-weight: lighter;
}
h2{
font-size: 2em;
font-weight: lighter;
}
h1, h2{
letter-spacing: 1px;
word-spacing: 2px;
line-height: 1.1em;
padding: 20px;
margin-left: 15%;
margin-right: 15%;
text-align: center;
color: grey;
}
p{
font-size: 1.3em;
line-height: 1.5em;
padding: 70px;
margin-left: 15%;
margin-right: 15%;
text-align: center;
}
#about-pic-container {
position: relative;
max-width: 65vw; /* Set maximum width and height relative to viewport width */
max-height: 35vw;
overflow:scroll; /* Hide the parts of the image that exceed the container */
margin: 0 auto;
}
#about-pic {
display: block;
width: 100%; /* Make the image fill its container */
height: auto; /* Ensure the image maintains its original aspect ratio */
object-fit: cover;
object-position: center;
}
/* button set of introduction page */
.buttons{
position: relative;
text-align: center;
}
.arrow-button {
color:lightblue;
font-size: 3.5em;
transition-duration: 300ms;
background-color: transparent;
border: none;
padding: 10px;
cursor: pointer;
}
/* add shades when hover on the button */
.arrow-button:hover {
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
.arrow-button:active {
text-shadow: 2px 2px 5px rgba(255, 255, 255, 0.3);
}
.left-button {
color:lightgray;
position: absolute;
left: 10%;
top:35%;
}
.right-button {
position: absolute;
right: 10%;
top:35%;
}
/* get a quote button */
.center-container {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
margin-top: -50px;
margin-bottom: 10%;
}
.quote-button {
padding: 10px 20px;
border-radius: 30px; /* Adjust border radius*/
background-color: white; /* Button background color */
color: black; /* Button text color */
cursor: pointer; /* Change cursor on hover */
border: solid 2px black;
display: flex;
justify-content: center;
align-items: center;
font-size: 0.9em;
}
.quote-button a:hover {
font-weight:bold;
}
.quote-button a:active{
text-decoration: none;
color:white;
background-color: black;
}
.quote-button a:link, .quote-button a:visited {
text-decoration: none;
color: black;
}
@media only screen and (prefers-color-scheme: dark) {
body{
background-color: rgb(20, 19, 19);
}
.quote-button{
background-color: black;
border: 2px solid white;
}
.quote-button a:link, .quote-button a:visited{
color:white;
}
}
@media only screen and (max-width: 45em){
.quote-button{
margin-top:80px;
font-size: 0.8em;
}
}