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
890342fa
Commit
890342fa
authored
1 year ago
by
Atharv Shete
Browse files
Options
Downloads
Plain Diff
Merge branch 'atharv' of
https://gitlab.igem.org/2023/iit-madras
into atharv
parents
1fce2bfd
ce5d2993
No related branches found
No related tags found
3 merge requests
!34
Update 2 files
,
!23
Update 2 files
,
!19
responsive navbar
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
static/style.css
+788
-0
788 additions, 0 deletions
static/style.css
with
788 additions
and
0 deletions
static/style.css
+
788
−
0
View file @
890342fa
...
@@ -499,6 +499,794 @@ footer {
...
@@ -499,6 +499,794 @@ footer {
.horizontal-logos
a
:hover
{
.horizontal-logos
a
:hover
{
color
:
#b3b3b3
;
color
:
#b3b3b3
;
.left-aligned
{
margin-left
:
auto
;
}
.bg-dark
{
background-color
:
#000
!important
;
}
.bg-hero
{
background-color
:
#45b06c
ff
;
}
/* CALLOUT */
.bd-callout
{
padding
:
1.25rem
;
margin-top
:
1.25rem
;
margin-bottom
:
1.25rem
;
margin-left
:
20rem
;
margin-right
:
20rem
;
border-radius
:
0.25rem
;
}
.bd-callout
h4
{
margin-bottom
:
0.25rem
;
}
.bd-callout
p
:last-child
{
margin-bottom
:
0
;
}
.bd-callout
code
{
border-radius
:
0.25rem
;
}
.bd-callout
+
.bd-callout
{
margin-top
:
-0.25rem
;
}
@media
(
max-width
:
768px
)
{
.bd-callout
{
padding
:
0.75rem
;
margin-left
:
1rem
;
margin-right
:
1rem
;
}
}
/* footer */
footer
a
{
color
:
white
;
font-weight
:
bold
;
text-decoration
:
none
;
}
footer
a
:hover
{
color
:
white
;
text-decoration
:
underline
;
}
.font-futura
{
font-family
:
"Futura"
,
sans-serif
;
}
.img
{
height
:
60%
;
}
.navbar-brand
{
margin
:
1vh
0
1vh
0
;
font-size
:
5rem
;
color
:
#fff
;
}
.navbar-brand
strong
{
font-size
:
2rem
;
color
:
#fff
;
margin
:
-5px
;
}
.brand-desc
{
font-size
:
20px
;
}
.desktop-nav
{
background
:
black
;
/* position: absolute;
top: 0; */
}
.nav
{
font-size
:
0.5em
!important
;
width
:
fit-content
;
}
.nav-link
{
font-size
:
4em
!important
;
color
:
#fff
;
}
.nav-button
{
border
:
none
!important
;
border-radius
:
25px
;
margin
:
-15px
;
color
:
#fff
!important
;
}
.nav-icon3
{
border
:
none
;
background-color
:
#fff
;
}
.nav-icon3
span
{
color
:
#fff
!important
;
background-color
:
#fff
!important
;
}
.navbar-brand
{
color
:
#fff
!important
;
}
.nav-styles
{
background
:
linear-gradient
(
270deg
,
#126aad
0%
,
#33b4cd
100%
);
}
.mobile-nav
{
background
:
black
;
margin-top
:
0
;
}
.nav-styles
a
{
text-decoration
:
none
;
color
:
#1d3557
;
}
/* scroll animation */
.dineuron-menu
{
display
:
flex
;
flex-direction
:
row
;
width
:
100%
;
height
:
100%
;
opacity
:
0
;
visibility
:
hidden
;
}
.close-btn
{
margin-right
:
10vw
;
font-size
:
1rem
;
}
.close-icon
{
color
:
aliceblue
;
cursor
:
pointer
;
}
.nav-open
.dineuron-menu
{
opacity
:
0.9
;
visibility
:
visible
;
background
:
rgba
(
0
,
0
,
0
,
0.92
);
}
.dineuron-menu
.nav
li
a
{
color
:
#fff
;
font-size
:
5vh
;
font-weight
:
600
;
}
.dineuron-menu
.nav
li
{
opacity
:
0
;
-webkit-transform
:
translateY
(
-40px
);
transform
:
translateY
(
-40px
);
-webkit-animation-timing-function
:
cubic-bezier
(
0.45
,
0.005
,
0
,
1
);
-moz-animation-timing-function
:
cubic-bezier
(
0.45
,
0.005
,
0
,
1
);
-o-animation-timing-function
:
cubic-bezier
(
0.45
,
0.005
,
0
,
1
);
animation-timing-function
:
cubic-bezier
(
0.45
,
0.005
,
0
,
1
);
}
.nav-open
.dineuron-menu
.nav
li
{
opacity
:
1
;
-webkit-transform
:
translateY
(
0px
);
transform
:
translateY
(
0px
);
-webkit-transition
:
-webkit-transform
0.2s
,
opacity
0.2s
;
transition
:
transform
0.2s
,
opacity
0.2s
;
}
.dineuron-menu
.nav
li
.delay-1
{
-webkit-transition-delay
:
0.1s
;
-moz-transition-delay
:
0.1s
;
-ms-transition-delay
:
0.1s
;
-o-transition-delay
:
0.1s
;
transition-delay
:
0.1s
;
}
.dineuron-menu
.nav
li
.delay-2
{
-webkit-transition-delay
:
0.2s
;
-moz-transition-delay
:
0.2s
;
-ms-transition-delay
:
0.2s
;
-o-transition-delay
:
0.2s
;
transition-delay
:
0.2s
;
}
.dineuron-menu
.nav
li
.delay-3
{
-webkit-transition-delay
:
0.3s
;
-moz-transition-delay
:
0.3s
;
-ms-transition-delay
:
0.3s
;
-o-transition-delay
:
0.3s
;
transition-delay
:
0.3s
;
}
.dineuron-menu
.nav
li
.delay-4
{
-webkit-transition-delay
:
0.4s
;
-moz-transition-delay
:
0.4s
;
-ms-transition-delay
:
0.4s
;
-o-transition-delay
:
0.4s
;
transition-delay
:
0.4s
;
}
.dineuron-menu
.nav
li
.delay-5
{
-webkit-transition-delay
:
0.5s
;
-moz-transition-delay
:
0.5s
;
-ms-transition-delay
:
0.5s
;
-o-transition-delay
:
0.5s
;
transition-delay
:
0.5s
;
}
.dineuron-menu
.nav
li
.delay-6
{
-webkit-transition-delay
:
0.6s
;
-moz-transition-delay
:
0.6s
;
-ms-transition-delay
:
0.6s
;
-o-transition-delay
:
0.6s
;
transition-delay
:
0.6s
;
}
.dineuron-menu
.nav
li
.delay-7
{
-webkit-transition-delay
:
0.7s
;
-moz-transition-delay
:
0.7s
;
-ms-transition-delay
:
0.7s
;
-o-transition-delay
:
0.7s
;
transition-delay
:
0.7s
;
}
.dineuron-menu
.nav
li
.delay-8
{
-webkit-transition-delay
:
0.8s
;
-moz-transition-delay
:
0.8s
;
-ms-transition-delay
:
0.8s
;
-o-transition-delay
:
0.8s
;
transition-delay
:
0.8s
;
}
.dineuron-menu
.nav
li
.delay-9
{
-webkit-transition-delay
:
0.9s
;
-moz-transition-delay
:
0.9s
;
-ms-transition-delay
:
0.9s
;
-o-transition-delay
:
0.9s
;
transition-delay
:
0.9s
;
}
.nav-button
{
position
:
relative
;
z-index
:
1111
;
border
:
solid
1px
#f8f8f8
;
height
:
42px
;
display
:
block
;
width
:
50px
;
padding
:
12px
;
z-index
:
1000
;
}
.nav-button
#nav-icon3
{
width
:
24px
;
height
:
22px
;
display
:
inline-block
;
position
:
relative
;
-webkit-transform
:
rotate
(
0deg
);
-moz-transform
:
rotate
(
0deg
);
-o-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
-webkit-transition
:
0.5s
ease-in-out
;
-moz-transition
:
0.5s
ease-in-out
;
-o-transition
:
0.5s
ease-in-out
;
transition
:
0.5s
ease-in-out
;
cursor
:
pointer
;
}
.nav-button
#nav-icon3
span
{
position
:
absolute
;
height
:
3px
;
width
:
100%
;
background
:
#fff
;
border-radius
:
9px
;
opacity
:
1
;
left
:
0
;
-webkit-transform
:
rotate
(
0deg
);
-moz-transform
:
rotate
(
0deg
);
-o-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
-webkit-transition
:
0.25s
ease-in-out
;
-moz-transition
:
0.25s
ease-in-out
;
-o-transition
:
0.25s
ease-in-out
;
transition
:
0.25s
ease-in-out
;
cursor
:
pointer
;
}
.nav-button
#nav-icon3
span
:nth-child
(
1
)
{
top
:
0
;
}
.nav-button
#nav-icon3
span
:nth-child
(
2
),
#nav-icon3
span
:nth-child
(
3
)
{
top
:
7px
;
}
.nav-button
#nav-icon3
span
:nth-child
(
4
)
{
top
:
14px
;
}
.nav-open
#nav-icon3
span
:nth-child
(
1
)
{
top
:
9px
;
width
:
0
;
left
:
50%
;
}
.nav-open
#nav-icon3
span
:nth-child
(
2
)
{
-webkit-transform
:
rotate
(
45deg
);
-moz-transform
:
rotate
(
45deg
);
-o-transform
:
rotate
(
45deg
);
transform
:
rotate
(
45deg
);
}
.nav-open
#nav-icon3
span
:nth-child
(
3
)
{
-webkit-transform
:
rotate
(
-45deg
);
-moz-transform
:
rotate
(
-45deg
);
-o-transform
:
rotate
(
-45deg
);
transform
:
rotate
(
-45deg
);
}
.nav-open
#nav-icon3
span
:nth-child
(
4
)
{
top
:
9px
;
width
:
0
;
left
:
50%
;
}
.flex-center
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-pack
:
center
;
-webkit-justify-content
:
center
;
-ms-flex-pack
:
center
;
justify-content
:
center
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
height
:
100%
;
}
/* index collapsibles */
.bg-0
{
background-color
:
var
(
--bg-0
)
!important
;
box-shadow
:
0px
0px
5px
0px
rgba
(
0
,
0
,
0
,
0.2
);
}
.headline-color
{
color
:
var
(
--color-0
)
!important
;
}
.regular-color
{
color
:
var
(
--color-1
)
!important
;
}
.wraper
{
display
:
flex
;
justify-content
:
center
;
}
.collapsed-menu
{
position
:
relative
;
overflow
:
hidden
;
max-height
:
50px
;
display
:
flex
;
justify-content
:
flex-start
;
align-items
:
flex-start
;
flex-direction
:
column
;
padding
:
0
;
transition
:
max-height
0.2s
ease
;
border
:
1px
solid
rgba
(
255
,
255
,
255
,
0.2
);
border-radius
:
8px
;
}
.collapsed-menu.toggled
{
max-height
:
260px
;
}
.collapsed-menu
>
.collapsed-menu-btn
span
{
transform
:
rotate
(
-90deg
);
}
.collapsed-menu.toggled
>
.collapsed-menu-btn
span
{
transform
:
rotate
(
0
);
}
.collapsed-menu
.collapsed-menu-list
{
list-style-type
:
none
;
padding
:
0.2em
;
margin
:
0
;
}
/* styled item */
.styled-link
{
display
:
flex
!important
;
justify-content
:
flex-end
!important
;
align-items
:
center
;
flex-direction
:
row-reverse
!important
;
cursor
:
pointer
;
position
:
relative
;
gap
:
0.2em
;
padding
:
0
0.8em
;
text-decoration
:
none
;
}
.styled-link
:before
{
position
:
absolute
;
width
:
100%
;
height
:
100%
;
top
:
0
;
left
:
0
;
background-color
:
var
(
--color-1
);
opacity
:
0
;
content
:
" "
;
border-radius
:
8px
;
transition
:
all
0.2s
ease-in-out
;
}
.styled-link
:hover:before
{
opacity
:
0.2
;
border-radius
:
8px
;
}
.styled-link
:active:before
{
opacity
:
0.4
;
border-radius
:
2px
;
}
.styled-link
*,
.styled-link
*
:before
,
.styled-link
*
::after
{
transition
:
0.2s
ease-in-out
;
user-select
:
none
;
}
.styled-link
span
{
padding
:
2px
;
aspect-ratio
:
1
;
font-size
:
18px
;
}
.styled-link
p
,
.styled-link
span
{
vertical-align
:
middle
;
}
.styled-link
p
{
opacity
:
0.8
;
position
:
relative
;
}
.styled-link
p
:before
{
position
:
absolute
;
content
:
" "
;
width
:
0%
;
border-bottom
:
1px
solid
var
(
--color-1
);
height
:
100%
;
margin
:
0
49%
;
}
.styled-link
:hover
p
{
opacity
:
1
;
}
.styled-link
:hover
p
:before
{
width
:
60%
;
margin
:
0
20%
;
}
/* navbar */
.dineuron-menu
{
display
:
flex
;
flex-direction
:
row
;
align-items
:
center
;
width
:
100%
;
height
:
100%
;
opacity
:
0
;
visibility
:
hidden
;
}
.close-btn
{
margin-right
:
10vw
;
font-size
:
1rem
;
}
.close-icon
{
color
:
aliceblue
;
cursor
:
pointer
;
}
.nav-open
.dineuron-menu
{
opacity
:
0.9
;
visibility
:
visible
;
background
:
rgba
(
0
,
0
,
0
,
0.92
);
}
.dineuron-menu
.nav
li
a
{
color
:
#fff
;
font-size
:
5vh
;
font-weight
:
600
;
}
.dineuron-menu
.nav
li
{
opacity
:
0
;
-webkit-transform
:
translateY
(
-40px
);
transform
:
translateY
(
-40px
);
-webkit-animation-timing-function
:
cubic-bezier
(
0.45
,
0.005
,
0
,
1
);
-moz-animation-timing-function
:
cubic-bezier
(
0.45
,
0.005
,
0
,
1
);
-o-animation-timing-function
:
cubic-bezier
(
0.45
,
0.005
,
0
,
1
);
animation-timing-function
:
cubic-bezier
(
0.45
,
0.005
,
0
,
1
);
}
.nav-open
.dineuron-menu
.nav
li
{
opacity
:
1
;
-webkit-transform
:
translateY
(
0px
);
transform
:
translateY
(
0px
);
-webkit-transition
:
-webkit-transform
0.2s
,
opacity
0.2s
;
transition
:
transform
0.2s
,
opacity
0.2s
;
}
.dineuron-menu
.nav
li
.delay-1
{
-webkit-transition-delay
:
0.1s
;
-moz-transition-delay
:
0.1s
;
-ms-transition-delay
:
0.1s
;
-o-transition-delay
:
0.1s
;
transition-delay
:
0.1s
;
}
.dineuron-menu
.nav
li
.delay-2
{
-webkit-transition-delay
:
0.2s
;
-moz-transition-delay
:
0.2s
;
-ms-transition-delay
:
0.2s
;
-o-transition-delay
:
0.2s
;
transition-delay
:
0.2s
;
}
.dineuron-menu
.nav
li
.delay-3
{
-webkit-transition-delay
:
0.3s
;
-moz-transition-delay
:
0.3s
;
-ms-transition-delay
:
0.3s
;
-o-transition-delay
:
0.3s
;
transition-delay
:
0.3s
;
}
.dineuron-menu
.nav
li
.delay-4
{
-webkit-transition-delay
:
0.4s
;
-moz-transition-delay
:
0.4s
;
-ms-transition-delay
:
0.4s
;
-o-transition-delay
:
0.4s
;
transition-delay
:
0.4s
;
}
.dineuron-menu
.nav
li
.delay-5
{
-webkit-transition-delay
:
0.5s
;
-moz-transition-delay
:
0.5s
;
-ms-transition-delay
:
0.5s
;
-o-transition-delay
:
0.5s
;
transition-delay
:
0.5s
;
}
.dineuron-menu
.nav
li
.delay-6
{
-webkit-transition-delay
:
0.6s
;
-moz-transition-delay
:
0.6s
;
-ms-transition-delay
:
0.6s
;
-o-transition-delay
:
0.6s
;
transition-delay
:
0.6s
;
}
.dineuron-menu
.nav
li
.delay-7
{
-webkit-transition-delay
:
0.7s
;
-moz-transition-delay
:
0.7s
;
-ms-transition-delay
:
0.7s
;
-o-transition-delay
:
0.7s
;
transition-delay
:
0.7s
;
}
.dineuron-menu
.nav
li
.delay-8
{
-webkit-transition-delay
:
0.8s
;
-moz-transition-delay
:
0.8s
;
-ms-transition-delay
:
0.8s
;
-o-transition-delay
:
0.8s
;
transition-delay
:
0.8s
;
}
.dineuron-menu
.nav
li
.delay-9
{
-webkit-transition-delay
:
0.9s
;
-moz-transition-delay
:
0.9s
;
-ms-transition-delay
:
0.9s
;
-o-transition-delay
:
0.9s
;
transition-delay
:
0.9s
;
}
.nav-button
{
position
:
relative
;
z-index
:
1111
;
border
:
solid
1px
#f8f8f8
;
height
:
42px
;
display
:
block
;
width
:
50px
;
padding
:
12px
;
z-index
:
1000
;
}
.nav-button
#nav-icon3
{
width
:
24px
;
height
:
22px
;
display
:
inline-block
;
position
:
relative
;
-webkit-transform
:
rotate
(
0deg
);
-moz-transform
:
rotate
(
0deg
);
-o-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
-webkit-transition
:
0.5s
ease-in-out
;
-moz-transition
:
0.5s
ease-in-out
;
-o-transition
:
0.5s
ease-in-out
;
transition
:
0.5s
ease-in-out
;
cursor
:
pointer
;
}
.nav-button
#nav-icon3
span
{
position
:
absolute
;
height
:
3px
;
width
:
100%
;
background
:
#fff
;
border-radius
:
9px
;
opacity
:
1
;
left
:
0
;
-webkit-transform
:
rotate
(
0deg
);
-moz-transform
:
rotate
(
0deg
);
-o-transform
:
rotate
(
0deg
);
transform
:
rotate
(
0deg
);
-webkit-transition
:
0.25s
ease-in-out
;
-moz-transition
:
0.25s
ease-in-out
;
-o-transition
:
0.25s
ease-in-out
;
transition
:
0.25s
ease-in-out
;
cursor
:
pointer
;
}
.nav-button
#nav-icon3
span
:nth-child
(
1
)
{
top
:
0
;
}
.nav-button
#nav-icon3
span
:nth-child
(
2
),
#nav-icon3
span
:nth-child
(
3
)
{
top
:
7px
;
}
.nav-button
#nav-icon3
span
:nth-child
(
4
)
{
top
:
14px
;
}
.nav-open
#nav-icon3
span
:nth-child
(
1
)
{
top
:
9px
;
width
:
0
;
left
:
50%
;
}
.nav-open
#nav-icon3
span
:nth-child
(
2
)
{
-webkit-transform
:
rotate
(
45deg
);
-moz-transform
:
rotate
(
45deg
);
-o-transform
:
rotate
(
45deg
);
transform
:
rotate
(
45deg
);
}
.nav-open
#nav-icon3
span
:nth-child
(
3
)
{
-webkit-transform
:
rotate
(
-45deg
);
-moz-transform
:
rotate
(
-45deg
);
-o-transform
:
rotate
(
-45deg
);
transform
:
rotate
(
-45deg
);
}
.nav-open
#nav-icon3
span
:nth-child
(
4
)
{
top
:
9px
;
width
:
0
;
left
:
50%
;
}
.flex-center
{
display
:
-webkit-box
;
display
:
-webkit-flex
;
display
:
-ms-flexbox
;
display
:
flex
;
-webkit-box-pack
:
center
;
-webkit-justify-content
:
center
;
-ms-flex-pack
:
center
;
justify-content
:
center
;
-webkit-box-align
:
center
;
-webkit-align-items
:
center
;
-ms-flex-align
:
center
;
align-items
:
center
;
height
:
100%
;
}
/* common styles */
.section-main
{
background-color
:
#17a7b3
;
}
.section-title
{
width
:
100vw
;
height
:
100vh
;
background
:
linear-gradient
(
270deg
,
#126aad
0%
,
#33b4cd
100%
);
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
flex-direction
:
column
;
}
.section-content
{
width
:
100vw
;
height
:
fit-content
;
background-color
:
#fff
;
padding
:
5vw
20vw
;
}
.content-card
{
min-width
:
30vw
;
margin
:
5vh
0
5vh
5vw
;
padding
:
15px
25px
;
border
:
1px
solid
white
;
border-radius
:
25px
;
box-shadow
:
0
2px
4px
0
rgba
(
80
,
79
,
79
,
0.2
),
0
3px
10px
0
rgba
(
080
,
79
,
79
,
0.2
);
}
.content-card
h1
{
font-weight
:
900
;
background
:
-webkit-linear-gradient
(
#126aad
,
#33b4cd
);
background-clip
:
border-box
;
-webkit-background-clip
:
text
;
-webkit-text-fill-color
:
transparent
;
font-size
:
3em
!important
;
line-height
:
1.5em
;
}
.content-card
h2
{
font-size
:
1.5rem
;
}
/* new navbar */
/* Reset some default styles */
*
{
margin
:
0
;
padding
:
0
;
box-sizing
:
border-box
;
}
/* Style for the navigation bar */
.navbar
{
background-color
:
black
;
color
:
white
;
display
:
flex
;
justify-content
:
space-between
;
align-items
:
center
;
padding
:
15px
30px
;
font-family
:
"Courier Prime"
,
monospace
;
font-weight
:
bold
;
}
.logo
img
{
/* width: 50px; */
height
:
auto
;
}
.nav-links
{
list-style-type
:
none
;
display
:
flex
;
padding
:
0
;
}
.nav-links
li
{
align-items
:
center
;
margin-right
:
20px
;
padding
:
10px
10px
10px
;
flex
:
auto
;
}
.nav-links
a
{
align-self
:
center
;
text-decoration
:
none
;
color
:
white
;
}
/* Dropdown styling */
.dropdown
{
position
:
relative
;
}
.dropdown-content
{
display
:
none
;
position
:
absolute
;
background-color
:
black
;
min-width
:
160px
;
z-index
:
1
;
}
.dropdown-content
li
{
align-items
:
center
;
padding
:
10px
;
}
.dropdown
:hover
.dropdown-content
{
display
:
block
;
}
.nav-name
{
text-decoration
:
none
;
font-weight
:
bolder
;
font-size
:
xx-large
;
size
:
20%
;
align-self
:
center
;
color
:
#fff
;
}
.nav-links
li
{
align-items
:
center
;
}
.nav-item
{
text-align
:
left
;
align-items
:
center
;
justify-content
:
center
;
padding-top
:
10px
;
margin-top
:
10px
;
font-size
:
medium
;
}
}
.footer-logo
{
.footer-logo
{
...
...
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