Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Yokihito Oki
/
kanoya-univercity-prod
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
caeb56f3
authored
2020-09-02 08:16:09 +0900
by
TaishiTokudome
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
インタビューページのスタイル修正
1 parent
22d5103c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
19 deletions
templates/protostar/css/style_org.css
templates/protostar/css/style_org.css
View file @
caeb56f
...
...
@@ -3433,69 +3433,85 @@ body.itemid-132 table {
/* -------------------------------------------------------------------------
OB・OGインタビューページに対するスタイル指定
------------------------------------------------------------------------- */
.interview
div
.items-leading
>
div
{
.interview
.items-leading
>
div
{
border-top
:
5px
solid
#003894
;
display
:
flex
;
flex-direction
:
row-reverse
;
justify-content
:
space-between
;
align-items
:
center
;
position
:
relative
;
}
/* イントロテキストを表示しない設定ができないので、以下の設定で、一旦全てを非表示にする */
.interview
div
.items-leading
>
div
>
*
{
.interview
.items-leading
>
div
>
*
{
display
:
none
;
}
.interview
div
.items-leading
>
div
>
div
{
.interview
.items-leading
div
.page-header
{
display
:
block
;
}
.interview
.items-leading
div
.item-image
{
display
:
block
;
}
.interview
div
.items-leading
div
div
.page-header
{
width
:
100%
;
.interview
.items-leading
div
.article-info
{
display
:
flex
;
position
:
absolute
;
bottom
:
-45px
;
right
:
0
;
}
.interview
.items-leading
div
.page-header
{
width
:
100%
;
max-width
:
800px
;
padding
:
0
;
margin
:
32px
0
;
}
.interview
div
.items-leading
div
div
.page-header
h2
{
.interview
.items-leading
div
.page-header
h2
{
/* .blogに対して指定されているスタイルを取り消し */
border-top
:
none
;
border-bottom
:
none
;
margin
:
0
;
padding
:
0
;
}
.interview
div
.items-leading
div
div
.item-image
{
width
:
1
0
0px
;
.interview
.items-leading
div
.item-image
{
width
:
1
6
0px
;
float
:
none
;
}
.interview
div
.items-leading
div
div
.item-image
img
{
.interview
.items-leading
div
.item-image
img
{
/* 画像ごとによって縦横幅が自動設定。最大値以上にはならないように指定 */
width
:
100%
;
}
.interview
div
.items-leading
div
div
.item-image
{
margin
:
2
0px
20px
20
px
0
;
.interview
.items-leading
div
.item-image
{
margin
:
2
4px
24px
24
px
0
;
}
/* レスポンシブ */
@media
(
max-width
:
500px
)
{
.interview
div
.items-leading
>
div
{
.interview
.items-leading
>
div
{
flex-direction
:
column-reverse
;
}
.interview
div
.items-leading
div
div
.page-header
h2
{
font-size
:
90%
;
.interview
.items-leading
div
.page-header
{
margin
:
16px
0
32px
;
}
.interview
div
.items-leading
div
dl
.article-info
{
.interview
.items-leading
div
.article-info
{
font-size
:
90%
;
}
.interview
div
.items-leading
div
div
.item-image
{
.interview
.items-leading
div
.item-image
{
max-width
:
500px
;
width
:
100%
;
}
.interview
div
.items-leading
div
div
.item-image
img
{
.interview
.items-leading
div
.item-image
img
{
max-width
:
500px
;
width
:
100%
;
}
.interview
div
.items-leading
div
div
.item-image
{
.interview
.items-leading
div
.item-image
{
margin
:
20px
0
0
;
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment