Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
IIT-Madras
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2023 Competition
IIT-Madras
Commits
d544adba
Commit
d544adba
authored
1 year ago
by
Aadityanshu Abhinav
Browse files
Options
Downloads
Patches
Plain Diff
Update style.css
parent
97c93bd5
No related branches found
No related tags found
3 merge requests
!34
Update 2 files
,
!28
Updated team.html, style.css and layout.html
,
!27
"Update team.html"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
static/style.css
+34
-10
34 additions, 10 deletions
static/style.css
with
34 additions
and
10 deletions
static/style.css
+
34
−
10
View file @
d544adba
...
...
@@ -1339,7 +1339,7 @@ footer a:hover {
body
{
background-color
:
#ffffff
;
/* White background */
text-align
:
center
;
/* Center-align content */
margin
:
0
;
/* Remove default margin */
margin
:
0
;
/* Remove default margin */
padding
:
0
;
/* Remove default padding */
font-family
:
'Nico Moji'
,
sans-serif
;
}
...
...
@@ -1356,30 +1356,26 @@ h1 {
color
:
#000000
;
/* Black color */
margin-top
:
20px
;
/* Add spacing from the top */
}
.dual-headings
{
display
:
flex
;
/* Use flexbox to create side-by-side headings */
justify-content
:
center
;
/* Center the headings horizontally */
margin-top
:
20px
;
/* Add spacing from the top */
font-size
:
50px
;
}
.dual-heading
{
flex
:
1
;
/* Allow headings to share available space equally */
padding
:
20px
;
/* Add padding around each heading */
/*border: 1px solid #000000; /* Add a border for visual separation (optional) */
}
.team-member
{
width
:
2
51
px
;
/* Set the width */
height
:
2
51
px
;
/* Set the height */
width
:
2
00
px
;
/* Set the width */
height
:
2
00
px
;
/* Set the height */
max-width
:
100%
;
/* Ensure images don't exceed their container */
height
:
auto
;
/* Maintain aspect ratio */
border-radius
:
50%
;
/* Make the image circular */
margin
:
20px
;
/* Add spacing around each image */
}
.team-member-container
{
flex-basis
:
calc
(
50%
-
40px
);
/* Set width for 2 items per row, with spacing */
display
:
flex
;
/* Use flexbox to control image and caption layout */
...
...
@@ -1387,7 +1383,6 @@ h1 {
align-items
:
center
;
/* Center-align image and caption */
margin
:
20px
;
/* Add spacing around each image container */
}
/* Media query for adjusting font size and position */
@media
screen
and
(
max-width
:
1440px
)
{
#heading
{
...
...
@@ -1413,12 +1408,41 @@ h1 {
.sub-h1
{
background-color
:
#000000
;
/* Black strip background color */
color
:
#ffffff
;
/* White text color */
padding
:
2px
0
;
/* Add padding to top and bottom */
padding
:
0
0
;
/* Add padding to top and bottom */
font-size
:
45px
;
width
:
100%
;
font-family
:
'Nico Moji'
,
sans-serif
;
/* Use the Nico Moji font */
text-align
:
center
;
}
.caption
{
font-family
:
'Montserrat'
,
sans-serif
;
font-size
:
20px
;
/* Caption font size */
margin-top
:
5px
;
/* Adjust the spacing between image and caption */
}
.collapsible
{
background-color
:
white
;
color
:
white
;
cursor
:
pointer
;
width
:
100%
;
padding-left
:
0%
;
padding-right
:
0%
;
padding-bottom
:
0px
;
border
:
none
;
text-align
:
left
;
outline
:
none
;
font-size
:
15px
;
}
.active
,
.collapsible
:hover
{
background-color
:
#555
;
}
.content
{
padding
:
0
18px
;
max-height
:
0
;
transition
:
max-height
0.2s
ease-out
;
overflow
:
hidden
;
background-color
:
#f1f1f1
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment