moved files
This commit is contained in:
58
current_site/src/styles/details.styl
Normal file
58
current_site/src/styles/details.styl
Normal file
@@ -0,0 +1,58 @@
|
||||
.details
|
||||
margin 0 auto
|
||||
padding 20px
|
||||
|
||||
.details__header
|
||||
margin-bottom 20px
|
||||
text-align center
|
||||
|
||||
.details__title
|
||||
margin-bottom 5px
|
||||
|
||||
.details__description
|
||||
margin auto
|
||||
|
||||
.details__content
|
||||
display flex
|
||||
gap 40px
|
||||
align-items flex-start
|
||||
|
||||
.details__text
|
||||
flex 1
|
||||
text-align justify
|
||||
|
||||
.details__text-content
|
||||
margin auto 30px
|
||||
|
||||
.details__gallery
|
||||
display flex
|
||||
flex-direction column
|
||||
gap 20px
|
||||
margin auto
|
||||
|
||||
.details__gallery-item
|
||||
overflow hidden
|
||||
border-radius 8px
|
||||
box-shadow 0 4px 12px rgba(0, 0, 0, 0.1)
|
||||
transition transform 0.3s ease, box-shadow 0.3s ease
|
||||
|
||||
&:hover
|
||||
transform translateY(-5px)
|
||||
box-shadow 0 8px 20px rgba(0, 0, 0, 0.15)
|
||||
|
||||
.details__gallery-image
|
||||
width 100%
|
||||
height 250px
|
||||
object-fit cover
|
||||
display block
|
||||
|
||||
@media screen and (max-width: 700px)
|
||||
.details__content
|
||||
flex-direction column
|
||||
|
||||
.details__gallery
|
||||
order -1 // Move gallery above text
|
||||
|
||||
.details__gallery-image
|
||||
height 300px
|
||||
|
||||
166
current_site/src/styles/index.styl
Normal file
166
current_site/src/styles/index.styl
Normal file
@@ -0,0 +1,166 @@
|
||||
item_h=3em;
|
||||
|
||||
double-border()
|
||||
border-top double thick silver
|
||||
border-bottom double thick silver
|
||||
|
||||
flex-center()
|
||||
display flex
|
||||
align-items center
|
||||
justify-content center
|
||||
|
||||
text-center-bold()
|
||||
text-align center
|
||||
font-weight bold
|
||||
display block
|
||||
|
||||
grid-responsive(columns)
|
||||
display grid
|
||||
grid-template-columns columns
|
||||
grid-template-rows 1fr
|
||||
|
||||
.navbar
|
||||
double-border()
|
||||
font-size 0
|
||||
grid-responsive(repeat(7, min-content))
|
||||
justify-items start
|
||||
|
||||
&__link-wrapper
|
||||
color black
|
||||
text-decoration none
|
||||
|
||||
&__item
|
||||
display inline-block
|
||||
width max-content
|
||||
height item_h
|
||||
line-height item_h
|
||||
text-align center
|
||||
vertical-align middle
|
||||
padding 0 10px
|
||||
margin @padding
|
||||
overflow hidden
|
||||
text-overflow ellipsis
|
||||
font-size medium
|
||||
|
||||
&_selected
|
||||
color green
|
||||
font-weight bold
|
||||
border-left double thin silver
|
||||
border-right double thin silver
|
||||
|
||||
.gallery
|
||||
display flex
|
||||
flex-direction row
|
||||
width 90%
|
||||
margin auto
|
||||
|
||||
&__image
|
||||
margin auto
|
||||
width 100%
|
||||
border thin solid black
|
||||
|
||||
&:nth-child(2n+1)
|
||||
margin-top 10px
|
||||
|
||||
.main-container
|
||||
grid-responsive(3fr 1fr)
|
||||
|
||||
|
||||
.info-block
|
||||
border solid thin black
|
||||
padding 2vw
|
||||
margin 1vw 0
|
||||
|
||||
&__header
|
||||
text-center-bold()
|
||||
|
||||
&__container
|
||||
&_layout-a
|
||||
grid-responsive(3fr 3fr 2fr)
|
||||
|
||||
&_layout-b
|
||||
grid-responsive(4fr 7fr 4fr)
|
||||
|
||||
& > *
|
||||
margin 2vw
|
||||
|
||||
&__text, &__description
|
||||
text-align justify
|
||||
|
||||
&__image
|
||||
margin auto
|
||||
width 100%
|
||||
|
||||
&__link
|
||||
color inherit
|
||||
|
||||
|
||||
|
||||
|
||||
.sidebar
|
||||
border-left thin solid black
|
||||
margin 30px 0 0 50px
|
||||
|
||||
.small-card
|
||||
margin 20px 10px 0
|
||||
grid-responsive(1fr 1fr)
|
||||
|
||||
&__content
|
||||
text-align justify
|
||||
|
||||
&__header
|
||||
text-center-bold()
|
||||
text-align right
|
||||
|
||||
&__link
|
||||
display block
|
||||
text-align right
|
||||
color inherit
|
||||
|
||||
&__image
|
||||
& img
|
||||
width 100%
|
||||
margin-left:10px
|
||||
|
||||
@media screen and (max-width: 1000px)
|
||||
.small-card
|
||||
display flex
|
||||
flex-direction column
|
||||
.sidebar
|
||||
margin 0
|
||||
width:100%
|
||||
|
||||
|
||||
@media screen and (max-width: 800px)
|
||||
.navbar
|
||||
grid-responsive(1fr 1fr)
|
||||
grid-template-rows 1fr 1fr 1fr
|
||||
justify-items center
|
||||
|
||||
&__item
|
||||
&_selected
|
||||
border-bottom double thick silver
|
||||
border-left none
|
||||
border-right none
|
||||
|
||||
.gallery
|
||||
display inline-flex
|
||||
flex-direction column
|
||||
width 100%
|
||||
|
||||
&__image
|
||||
width 100%
|
||||
height 100%
|
||||
|
||||
&:nth-child(2n+1)
|
||||
margin-top 0px
|
||||
|
||||
.main-container
|
||||
display flex
|
||||
flex-direction column
|
||||
|
||||
.info-block
|
||||
&__container
|
||||
&_layout-a, &_layout-b
|
||||
display flex
|
||||
flex-direction column
|
||||
6
current_site/src/styles/table.styl
Normal file
6
current_site/src/styles/table.styl
Normal file
@@ -0,0 +1,6 @@
|
||||
.table, .table-content *, .table-content
|
||||
border: 1px solid black;
|
||||
border-collapse: collapse;
|
||||
|
||||
.table-content__table-row:nth-child(2n)
|
||||
background: #F0FFF0;
|
||||
Reference in New Issue
Block a user