forked from OLARIU-ART/olariu-art.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmystyle.css
193 lines (159 loc) · 4.3 KB
/
mystyle.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
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
body {
margin: 10;
background-color: #0F0022;
color: white;
background-image: url('./site_images/bkgrdTest.gif');
}
/***************************** menu buttons ***************************************************************/
.pagebuttons { /*these are the menu buttons*/
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.pagebuttons .button {
flex: 1 1 auto; /* Allow the button to grow and shrink as needed, with equal width */
margin: 5px; /* Add some margin around the buttons */
text-align: center;
padding: 10px;
box-sizing: border-box; /* Include padding and border in the element's total width and height */
}
/********************************************************************************************/
a{
color: blue;
}
a:hover{
color: red;
}
.button {
display: inline-block;
padding: 10px 20px;
margin: 10px;
font-size: 18px;
text-decoration: none;
color: red;
background-color: lightblue;
border-radius: 5px;
text-align: center;
font-weight: bold; /* Make button text bold */
transition: background-color 0.3s, color 0.3s;
}
.button:hover {
background-color: red;
color: yellow;
}
.centeredMainContent {
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 70vh; /* Adjust height as needed */
margin: 0;
text-align: center;
}
.horizontal-line {
width: 97%;
height: 3px;
background-color: red;
margin: 15px;
}
/***************************** carousel ***************************************************************/
.carousel-item {
height: 70vh; /* Adjust the height as needed */
color: white;
align-items: center;
justify-content: center;
position: relative;
}
.carousel-item img {
max-width: 100vw;
max-height: 70vh;
width: auto;
height: 70vh;
margin:auto;
border: 5px solid darkblue; /* Add a yellow frame */
box-sizing: border-box; /* Ensure the border is included in the image dimensions */
}
.carousel-caption {
color: white;
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.5); /* Optional: Add a semi-transparent background for better readability */
padding: 10px; /* Adjust padding as needed */
display: inline-block; /* Make the background just as wide as the caption text */
max-width: max-content; /* Ensure background is only as wide as the caption text */
}
.carousel-slide {
max-height: 70%;
}
/***************************** copyright footer section *******************************************/
.footer {
background-color: black;
color: orange;
text-align: center;
width: 100%;
padding: 10px 0;
position: fixed;
bottom: 0;
left: 0;
}
/***************************** title ***************************************************************/
.titleText {
color: red;
font-family: 'Great Vibes', cursive;
font-weight: bold;
font-size: 3em; /* Adjust the font size as needed */
text-align: center;
margin: 20px 0;
display: block; /* Ensure the title takes its own line */
}
/***************************** personal statement ***************************************************************/
.content{
width: 80%; /* Set the width to 70% of the page */
margin: 0 auto; /* Center the div horizontally */
font-size:1.2em
}
.section-title {
font-size: 1.2em;
margin-top: 20px;
border-bottom: 1px solid #ccc;
padding-bottom: 5px;
}
ul { list-style-type: disc; }
ul ul { list-style-type: square; margin-left: 20px; }
/***************************** cards ***************************************************************/
.card-container {
width: 70%;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
}
.card {
background-color: orange;
padding: 20px;
margin: 10px;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.card-title {
text-align: center;
margin-top: 0;
}
.homeText
{
margin: 0 auto;
color: red;
font-family: 'Great Vibes', cursive;
font-weight: bold;
font-size: 3em; /* Adjust the font size as needed */
text-align: center;
margin: 20px 0;
display: block; /* Ensure the title takes its own line */
}
.card-container a {
text-decoration: none; /* Remove underline from links inside cards */
font-weight: bolder;
}