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

View File

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

View File

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