Individual table cells should not be larger than 1/7th of the screen width

This commit is contained in:
echarp 2017-05-05 00:05:27 +02:00
parent 2de8faa870
commit 7eff55625d
16 changed files with 169973 additions and 10 deletions

View File

@ -78,7 +78,7 @@ h3.warning
header.top header.top
img.logo img.logo
float: left float: left
margin-left: 20px margin-left: 1%
ul.countries ul.countries
float: right float: right
@ -86,8 +86,7 @@ header.top
font-size: smaller font-size: smaller
margin-top: -0.8em margin-top: -0.8em
line-height: 1em line-height: 1em
margin-left: 1em margin-right: 1%
margin-right: 1em
list-style-type: none list-style-type: none
li li
text-align: left text-align: left

View File

@ -31,7 +31,7 @@ body.events.index table
padding-bottom: 0.35em padding-bottom: 0.35em
text-transform: capitalize text-transform: capitalize
td td
width: 14% width: (100%/7)
height: 4.8em height: 4.8em
border: 1px solid #89B7E5 border: 1px solid #89B7E5
padding: 1px padding: 1px
@ -94,7 +94,7 @@ body.events.index table
font-size: smaller font-size: smaller
&:hover &:hover
color: black color: black
font-weight: bolder text-decoration: underline
.links .links
float: right float: right

View File

@ -9,9 +9,6 @@
max-width: 60em max-width: 60em
@media all and (max-width: 1024px) @media all and (max-width: 1024px)
body.events.index table
width: 100%
form#orga_search form#orga_search
right: 0 right: 0
.links, a#banner .links, a#banner
@ -28,6 +25,7 @@
img.logo img.logo
margin-left: 0 margin-left: 0
ul.countries ul.countries
margin-top: 0
margin-right: 0 margin-right: 0
body body
@ -35,11 +33,13 @@
margin: 0 margin: 0
header.top h1 header.top h1
margin-top: 0 margin-top: 0
padding-top: 0.3em
main ul main ul
margin-left: 0 margin-left: 0
form#orga_search form#orga_search
font-size: smaller right: 0 !important
font-size: smaller !important
/* For small screen width */ /* For small screen width */
@media all and (max-width: 34em) @media all and (max-width: 34em)

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,21 @@
(function() {
$(document).on('turbolinks:load', function() {
return tinyMCE.init({
schema: 'html5',
menubar: false,
language: 'fr_FR',
selector: 'textarea.description',
content_css: '/assets/application-bdfbc8eb22d736e3b643562e28b99fe04141f4cf95374182bef07145353c9d93.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' bold italic strikethrough | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify | link image media insertdatetime charmap table | undo redo | searchreplace | code visualblocks preview fullscreen'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, visualchars, wordcount, contextmenu, code'
});
});
$(document).on('turbolinks:before-cache', function() {
return tinymce.remove();
});
}).call(this);

View File

@ -0,0 +1,21 @@
(function() {
$(document).on('turbolinks:load', function() {
return tinyMCE.init({
schema: 'html5',
menubar: false,
language: 'fr_FR',
selector: 'textarea.description',
content_css: '/assets/application-c9233d317c4304011690c6ce879a873281e2d4c79930b7ea3cf28bb7c5839d24.css',
entity_encoding: 'raw',
add_unload_trigger: true,
browser_spellcheck: true,
toolbar: [' bold italic strikethrough | bullist numlist outdent indent | alignleft aligncenter alignright alignjustify | link image media insertdatetime charmap table | undo redo | searchreplace | code visualblocks preview fullscreen'],
plugins: 'lists, advlist, autolink, link, image, charmap, paste, print, preview, table, fullscreen, searchreplace, media, insertdatetime, visualblocks, visualchars, wordcount, contextmenu, code'
});
});
$(document).on('turbolinks:before-cache', function() {
return tinymce.remove();
});
}).call(this);