Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
solo-1
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
solo-1
Commits
bea145a9
Commit
bea145a9
authored
Jan 30, 2018
by
Vanessa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
💄
#12389 responsive
parent
59293df7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
9 deletions
+89
-9
src/main/webapp/skins/Medium/css/base.css
src/main/webapp/skins/Medium/css/base.css
+76
-1
src/main/webapp/skins/Medium/macro-comments.ftl
src/main/webapp/skins/Medium/macro-comments.ftl
+4
-4
src/main/webapp/skins/Medium/page.ftl
src/main/webapp/skins/Medium/page.ftl
+9
-4
No files found.
src/main/webapp/skins/Medium/css/base.css
View file @
bea145a9
...
@@ -1147,11 +1147,18 @@ blockquote {
...
@@ -1147,11 +1147,18 @@ blockquote {
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.09
);
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.09
);
border-radius
:
3px
;
border-radius
:
3px
;
padding
:
10px
;
padding
:
10px
;
margin
:
0
0
20
px
;
margin
:
0
0
5
px
;
width
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
.captcha
{
height
:
35px
;
margin
:
-5px
0
0
7px
;
border
:
1px
solid
rgba
(
0
,
0
,
0
,
0.04
);
border-radius
:
3px
;
}
#submitCommentButton
,
#submitCommentButton
,
#submitCommentButtonReply
{
#submitCommentButtonReply
{
background-color
:
#fff
;
background-color
:
#fff
;
...
@@ -1280,3 +1287,71 @@ blockquote {
...
@@ -1280,3 +1287,71 @@ blockquote {
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0.05
);
border-bottom
:
1px
solid
rgba
(
0
,
0
,
0
,
0.05
);
padding
:
40px
0
35px
padding
:
40px
0
35px
}
}
@media
(
max-width
:
768px
)
{
.header
{
text-align
:
left
}
.header__logo
,
.post__side
,
.article__next
,
#articleBottomShare
,
#articleShare
,
.article__comment
.comment__avatar
{
display
:
none
}
.post
{
margin
:
50px
20px
20px
}
.article__toolbar
{
padding-left
:
20px
;
box-sizing
:
border-box
}
.article__item
{
width
:
100%
;
margin-bottom
:
20px
}
.article__wrap
{
margin
:
0
}
.article__comment
{
width
:
100%
}
.article__main
{
height
:
auto
!important
}
.footer
.fn-right
{
float
:
none
}
.footer__tag
{
display
:
block
}
.footer__tag
>
div
{
margin
:
0
0
50px
}
.footer__tag
>
div
:last-child
{
margin
:
0
}
.pagination__item
{
margin
:
0
}
.emotions
span
{
margin
:
0
;
transform
:
scale
(
0.7
);
}
.article__comment
.comment__body
{
padding-left
:
0
;
}
}
src/main/webapp/skins/Medium/macro-comments.ftl
View file @
bea145a9
...
@@ -12,17 +12,17 @@
...
@@ -12,17 +12,17 @@
<#if !isLoggedIn>
<#if !isLoggedIn>
<tr>
<tr>
<td>
<td>
<input placeholder="${commentNameLabel}" type="text" class="
normalInput
" id="commentName"/>
<input placeholder="${commentNameLabel}" type="text" class="
comment__textarea
" id="commentName"/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<input placeholder="${commentEmailLabel}" type="email" class="
normalInput
" id="commentEmail"/>
<input placeholder="${commentEmailLabel}" type="email" class="
comment__textarea
" id="commentEmail"/>
</td>
</td>
</tr>
</tr>
<tr>
<tr>
<td>
<td>
<input placeholder="${commentURLLabel}" type="url" id="commentURL"/>
<input placeholder="${commentURLLabel}" type="url"
class="comment__textarea"
id="commentURL"/>
</td>
</td>
</tr>
</tr>
</#if>
</#if>
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
<#if !isLoggedIn>
<#if !isLoggedIn>
<tr>
<tr>
<td>
<td>
<input style="width:50%" placeholder="${captchaLabel}" type="text" class="
normalInput
"
<input style="width:50%" placeholder="${captchaLabel}" type="text" class="
comment__textarea
"
id="commentValidate"/>
id="commentValidate"/>
<img class="captcha" id="captcha" alt="validate" src="${servePath}/captcha.do"/>
<img class="captcha" id="captcha" alt="validate" src="${servePath}/captcha.do"/>
</td>
</td>
...
...
src/main/webapp/skins/Medium/page.ftl
View file @
bea145a9
...
@@ -19,15 +19,20 @@
...
@@ -19,15 +19,20 @@
</
#
if>
</
#
if>
<div
class=
"wrapper content"
>
<div
class=
"wrapper content"
>
<article
class=
"post"
>
<article
class=
"post"
>
<
div
class=
"content-reset"
>
<
section
class=
"content-reset"
>
${page.pageContent}
${page.pageContent}
</
div
>
</
section
>
<
@
comments
commentList=
pageComments
article=
page
></
@
comments>
</article>
</article>
</div>
</div>
<
#include
"
bottom
.
ftl
"
>
</div>
</div>
<div
class=
"article__bottom"
>
<
@
comments
commentList=
pageComments
article=
page
></
@
comments>
</div>
<div
style=
"margin: 0 20px"
>
<
#include
"
bottom
.
ftl
"
>
<
#include
"
footer
.
ftl
"
>
<
#include
"
footer
.
ftl
"
>
</div>
<
@
comment_script
oId=
page.oId
></
@
comment
_script
>
<
@
comment_script
oId=
page.oId
></
@
comment
_script
>
</body>
</body>
</html>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment