File tree Expand file tree Collapse file tree 6 files changed +16
-4
lines changed Expand file tree Collapse file tree 6 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -25,11 +25,12 @@ body {
25
25
background : linear-gradient (
26
26
90deg ,
27
27
$C_CLAIR ,
28
- $C_CLAIR $PX_BRANDING_LARG ,
29
- $C_CONTAINER $PX_BRANDING_LARG ,
28
+ $C_CLAIR $PX_BRANDING_LARG + 1 px ,
29
+ $C_CONTAINER $PX_BRANDING_LARG + 1 px ,
30
30
$C_CONTAINER
31
31
)
32
32
#fff ;
33
+ background-repeat : no-repeat ;
33
34
}
34
35
35
36
a {
Original file line number Diff line number Diff line change 6
6
padding : 0 0 20px 0 ;
7
7
background : $C_CLAIR ;
8
8
background : linear-gradient (to bottom , $C_FOOT 0% , white 100% );
9
+ background-repeat : no-repeat ;
10
+ background-position : 0 0 ;
9
11
10
12
a {
11
13
font-size : 0.75em ;
25
27
$C_MIBLANC_MIFOOT 50% ,
26
28
$C_FOOT 100%
27
29
);
30
+ background-repeat : no-repeat ;
31
+ background-position : 0 0 ;
28
32
min-height : 360px ;
29
33
30
34
border-bottom-right-radius : $RAY_FOOT ;
Original file line number Diff line number Diff line change 3
3
display : flex ;
4
4
-ms-flwx-wrap : wrap ;
5
5
flex-wrap : wrap ;
6
- background : linear-gradient (to top , $C_INACTIVE 2px , transparent 2px );
6
+ background : 0 0 no-repeat linear-gradient (to top , $C_INACTIVE 2px , transparent 2px );
7
7
.tab {
8
8
font-size : 1.5em ;
9
9
line-height : 1.3em ;
Original file line number Diff line number Diff line change 10
10
background : linear-gradient (
11
11
to right ,
12
12
#fff ,
13
- #e7e3e0 $PX_BRANDING_LARG ,
13
+ #e7e3e0 $PX_BRANDING_LARG + 1 px ,
14
14
#bdb3aa 50%
15
15
);
16
+ background-repeat : no-repeat ;
17
+ background-position : 0 0 ;
16
18
17
19
/* we recycle the nav bar to display the black line at the top */
18
20
.go_to_content {
Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ def posted_by(content, user_link='Anonyme')
111
111
user_infos = [ ]
112
112
user_infos << homesite_link ( user )
113
113
user_infos << jabber_link ( user )
114
+ user_infos << mastodon_link ( user )
114
115
user_infos . compact!
115
116
user_link += ( " (" + user_infos . join ( ', ' ) + ")" ) . html_safe if user_infos . any?
116
117
end
Original file line number Diff line number Diff line change @@ -40,4 +40,8 @@ def jabber_link(user)
40
40
link_to ( "adresse XMPP" , "xmpp:" + user . jabber_id )
41
41
end
42
42
43
+ def mastodon_link ( user )
44
+ return if user . mastodon_url . blank?
45
+ link_to ( "Mastodon" , user . mastodon_url )
46
+ end
43
47
end
You can’t perform that action at this time.
0 commit comments