diff options
Diffstat (limited to 'public/css/main.css')
| -rw-r--r-- | public/css/main.css | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/public/css/main.css b/public/css/main.css new file mode 100644 index 0000000..b38f8d9 --- /dev/null +++ b/public/css/main.css | |||
| @@ -0,0 +1,110 @@ | |||
| 1 | main | ||
| 2 | { | ||
| 3 | margin: auto; | ||
| 4 | /*max-width: 1200px;*/ | ||
| 5 | background-color: #E3F3FF; | ||
| 6 | padding: 15px 0; | ||
| 7 | } | ||
| 8 | section > h3 | ||
| 9 | { | ||
| 10 | padding: 15px; | ||
| 11 | margin: 0; | ||
| 12 | text-align: center; | ||
| 13 | } | ||
| 14 | section > p /* boutons spéciaux mode admin */ | ||
| 15 | { | ||
| 16 | /*margin-left: 15px;*/ | ||
| 17 | } | ||
| 18 | .grid_columns | ||
| 19 | { | ||
| 20 | display: grid; | ||
| 21 | grid-template-columns: repeat(3, 1fr); | ||
| 22 | } | ||
| 23 | .galery_photos | ||
| 24 | { | ||
| 25 | display: flex; | ||
| 26 | flex-wrap: wrap; | ||
| 27 | justify-content: space-evenly; | ||
| 28 | } | ||
| 29 | .galery_photos .html_from_editor img | ||
| 30 | { | ||
| 31 | max-width: 400px; | ||
| 32 | max-height: 250px; | ||
| 33 | } | ||
| 34 | article | ||
| 35 | { | ||
| 36 | /*display: flex;*/ | ||
| 37 | background-color: white; | ||
| 38 | margin: 15px 15px 0 15px; | ||
| 39 | padding: 0 15px; | ||
| 40 | /*min-height: 150px;*/ | ||
| 41 | } | ||
| 42 | article .logo2 | ||
| 43 | { | ||
| 44 | vertical-align: middle; | ||
| 45 | max-width: 200px; | ||
| 46 | max-height: 200px; | ||
| 47 | margin-right: 15px; | ||
| 48 | } | ||
| 49 | .new_content, .article_content | ||
| 50 | { | ||
| 51 | width: 100%; | ||
| 52 | } | ||
| 53 | .new_content_text | ||
| 54 | { | ||
| 55 | max-height: 250px; | ||
| 56 | overflow: hidden; | ||
| 57 | } | ||
| 58 | |||
| 59 | article .action_icon | ||
| 60 | { | ||
| 61 | width: 24px; | ||
| 62 | vertical-align: middle; | ||
| 63 | border: white 2px solid; /* invisible */ | ||
| 64 | } | ||
| 65 | article .action_icon:hover | ||
| 66 | { | ||
| 67 | background-color: #ffff00; | ||
| 68 | border-radius: 4px; | ||
| 69 | border: lightgrey 2px outset; | ||
| 70 | } | ||
| 71 | .article_title_zone | ||
| 72 | { | ||
| 73 | display: flex; | ||
| 74 | justify-content: space-between; | ||
| 75 | } | ||
| 76 | .under_an_article | ||
| 77 | { | ||
| 78 | display: flex; | ||
| 79 | justify-content: space-between; | ||
| 80 | font-size: small; | ||
| 81 | } | ||
| 82 | .under_an_article p | ||
| 83 | { | ||
| 84 | margin: 5px; | ||
| 85 | } | ||
| 86 | .under_an_article img | ||
| 87 | { | ||
| 88 | width: 24px; | ||
| 89 | vertical-align: middle; | ||
| 90 | margin-right: 5px; | ||
| 91 | } | ||
| 92 | .article_admin_zone | ||
| 93 | { | ||
| 94 | display: flex; | ||
| 95 | justify-content: end; | ||
| 96 | } | ||
| 97 | main button | ||
| 98 | { | ||
| 99 | color: #ff1d04; | ||
| 100 | font-size: medium; | ||
| 101 | border-radius: 4px; | ||
| 102 | background-color: white; | ||
| 103 | border: lightgrey 2px outset; /* rend identiques les boutons firefox et chromium */ | ||
| 104 | } | ||
| 105 | main button:hover | ||
| 106 | { | ||
| 107 | cursor: pointer; /* curseur qui pointe du doigt */ | ||
| 108 | background-color: #ffff00; | ||
| 109 | border-radius: 4px; | ||
| 110 | } \ No newline at end of file | ||
